Skip to content

Commit c647818

Browse files
committed
chore: update coverage report step in GitHub Actions workflow
1 parent a7dc2b6 commit c647818

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- name: Run tests with coverage
3434
run: npm run test:coverage
3535

36-
- name: Upload coverage reports
37-
uses: codecov/codecov-action@v3
38-
if: matrix.node-version == '20.x'
36+
- name: Coverage Report
37+
uses: ArtiomTr/jest-coverage-report-action@v2
38+
if: matrix.node-version == '20.x' && github.event_name == 'pull_request'
3939
with:
40-
file: ./coverage/coverage-final.json
41-
flags: unittests
42-
name: codecov-umbrella
43-
continue-on-error: true
40+
coverage-file: ./coverage/coverage-summary.json
41+
base-coverage-file: ./coverage/coverage-summary.json
42+
annotations: all
43+
test-script: npm run test:coverage

0 commit comments

Comments
 (0)