Merge pull request #2094 from sanger/fix-lysate-label-printing #2749
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |