Skip to content

Remove install job, use setup-node's yarn cache (#4202) #308

Remove install job, use setup-node's yarn cache (#4202)

Remove install job, use setup-node's yarn cache (#4202) #308

Workflow file for this run

name: Main Tests
# report coverage on main for codecov baseline
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
jest:
name: Jest Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: yarn
- run: yarn install --immutable
- run: yarn test --coverage
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: true
verbose: true