Skip to content

Commit 951a8da

Browse files
committed
ci: run tests with coverage and upload coverage artifact
1 parent 2a68efc commit 951a8da

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,11 @@ jobs:
2525
- name: Install dependencies
2626
run: npm ci
2727

28-
- name: Run tests
29-
run: npm run test
28+
- name: Run tests with coverage
29+
run: npm run test -- --coverage
30+
31+
- name: Upload coverage report
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: coverage-report
35+
path: coverage

0 commit comments

Comments
 (0)