Skip to content

Commit 319ca38

Browse files
committed
Adding coverage report.
1 parent dc32d71 commit 319ca38

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/action.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,21 @@ jobs:
2929
run: npm run build
3030
- name: Testing
3131
run: npm test
32+
coverage:
33+
name: Coverage Report in Node v18
34+
runs-on: ubuntu-latest
35+
permissions:
36+
contents: write
37+
pull-requests: write
38+
steps:
39+
- name: Checking out
40+
uses: actions/checkout@v3
41+
- name: Setup Node v18
42+
uses: actions/setup-node@v3
43+
with:
44+
node-version: 18
45+
- name: Coverage
46+
uses: ArtiomTr/jest-coverage-report-action@v2
47+
with:
48+
test-script: npm test
49+
annotations: failed-tests

0 commit comments

Comments
 (0)