chore(deps): update jest monorepo to v29 #3622
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: ci | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 17.x] | |
steps: | |
- name: SCM | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Yarn install, build, and test | |
run: | | |
yarn | |
yarn test:cov | |
yarn build | |
- name: Upload coverage to Codecov | |
if: matrix.node-version == '12.x' | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
file: ./reports/coverage/lcov.info | |
flags: unittests | |
name: codecov-umbrella |