Skip to content

Commit 41a5199

Browse files
authoredApr 14, 2024··
Merge pull request #300 from ZJONSSON/github-actions
Fix coverage
2 parents e02fce8 + 8f659bc commit 41a5199

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.github/workflows/coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
- run: npm install
3838
- run: npm run build --if-present
3939
- run: npm test
40-
- run: npx lcov-badge2 coverage/lcov.info -o coverage/lcov-report/badge.svg
40+
- run: npx lcov-badge2 .tap/report/lcov.info -o .tap/report/badge.svg
4141
- name: Setup Pages
4242
uses: actions/configure-pages@v3
4343
- name: Upload artifact
4444
uses: actions/upload-pages-artifact@v2
4545
with:
46-
path: 'coverage/lcov-report'
46+
path: '.tap/report'
4747
- name: Deploy to GitHub Pages
4848
id: deployment
4949
uses: actions/deploy-pages@v2

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
],
5959
"main": "unzip.js",
6060
"scripts": {
61-
"test": "npx tap --coverage-report=html --allow-incomplete-coverage"
61+
"test": "npx tap --coverage-report=lcov --coverage-report=html --allow-incomplete-coverage"
6262
}
6363
}

0 commit comments

Comments
 (0)
Please sign in to comment.