Skip to content

Commit

Permalink
adding lcov report
Browse files Browse the repository at this point in the history
  • Loading branch information
j-catania committed Jan 2, 2024
1 parent 5fcd88d commit 7cb62be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
name: JEST Tests
path: reports/jest-junit.xml
reporter: jest-junit
- name: Coverage Report
uses: j-catania/test-reporter@main
if: success() || failure()
with:
name: JEST Coverage
path: coverage/lcov.info
reporter: lcov-json

release:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "module",
"scripts": {
"start": "node src/index.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --reporters=jest-junit",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --reporters=jest-junit --coverage",
"standard": "standard",
"standard:fix": "standard --fix"
},
Expand Down

0 comments on commit 7cb62be

Please sign in to comment.