Skip to content

Commit

Permalink
chore: fix node version in jest-coverage yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen Kumar authored and Praveen Kumar committed May 9, 2023
1 parent 77f6189 commit 525a345
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/jest-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Get Threshold
id: threshold
uses: notiz-dev/github-action-json-property@release
with:
path: 'jest.config.json'
prop_path: 'coverageThreshold.global.statements'

- name: Install dependencies
run: yarn

- name: Test and generate coverage report
uses: artiomtr/[email protected]
with:
Expand Down

0 comments on commit 525a345

Please sign in to comment.