Skip to content

Commit a72097e

Browse files
committed
fix: add --coverage flag to generate coverage reports for Codecov
1 parent ea782a4 commit a72097e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- name: Build
3838
run: npm run build
3939

40-
- name: Run tests
41-
run: npm test
40+
- name: Run tests with coverage
41+
run: npm test -- --coverage
4242

4343
- name: Upload coverage
4444
if: matrix.node-version == '20.x'

0 commit comments

Comments
 (0)