Skip to content

Commit

Permalink
Split coverage generation into its own command (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpow112 authored Jan 4, 2024
1 parent da72ea6 commit 36b7219
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
npm ci
npx playwright install --with-deps
- name: Run tests
run: npm run test:all
run: npm run test:coverage
- name: Hide outdated comment
uses: Brightspace/third-party-actions@int128/hide-comment-action
with:
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"lint:eslint": "eslint . --ext .js,.cjs",
"fix": "npm run fix:eslint",
"fix:eslint": "npm run lint:eslint -- --fix",
"test": "npm run lint && npm run test:all",
"test:all": "c8 run-s test:unit test:integration",
"test": "run-s lint test:all",
"test:all": "run-s test:unit test:integration",
"test:unit": "mocha test/unit/**/*.test.js",
"test:integration": "run-s test:integration:mocha test:integration:playwright",
"test:integration:mocha": "mocha --config test/integration/configs/mocha.cjs",
"test:integration:playwright": "playwright test --config test/integration/configs/playwright.js"
"test:integration:playwright": "playwright test --config test/integration/configs/playwright.js",
"test:coverage": "c8 npm run test:all"
},
"engines": {
"node": ">=20"
Expand Down

0 comments on commit 36b7219

Please sign in to comment.