Skip to content

Merge pull request #2058 from sanger/y24-432-centralize-vue-component… #2767

Merge pull request #2058 from sanger/y24-432-centralize-vue-component…

Merge pull request #2058 from sanger/y24-432-centralize-vue-component… #2767

Workflow file for this run

name: Javascript testing
on:
# Warning: changing run conditions could prevent coverage report in PR, see codecov.yml for `after_n_builds`
- push
- pull_request
jobs:
js_test:
runs-on: ubuntu-latest
env:
TZ: Europe/London
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Node Information
run: node --version
- name: Install
run: yarn install
- name: Run yarn test
run: yarn coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: javascript,${{ github.event_name }}
fail_ci_if_error: true
disable_search: true
files: ${{ github.workspace }}/app/frontend/coverage/lcov.info
# Note: see codecov.yml for more additional settings