Skip to content

Commit

Permalink
try publishing coverage report as an artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
botandrose-machine committed Jan 15, 2025
1 parent 85226d6 commit d20282c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
run: npm install
- name: Check code coverage
run: npm run test:coverage
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/

typecheck:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"unpkg": "dist/idiomorph.min.js",
"scripts": {
"test": "web-test-runner",
"test:coverage": "web-test-runner && node test/lib/ensure-full-coverage.js",
"test:coverage": "npm run ci && node test/lib/ensure-full-coverage.js",
"test:debug": "web-test-runner --manual --open",
"test:move-before": "USE_MOVE_BEFORE=1 web-test-runner",
"ci": "web-test-runner --fail-only --playwright --browsers chromium firefox webkit",
Expand Down

0 comments on commit d20282c

Please sign in to comment.