Skip to content

Commit

Permalink
ci: regenerate coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Aug 15, 2024
1 parent 274fe7c commit d28aa3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Install Dependencies
run: yarn install --immutable

- name: Configure c8
run: |
echo '{"reports-dir": "docs/coverage"}' > .c8rc.json
- name: Generate Coverage
run: yarn test:coverage:lcov

- name: Create nojekyll
run: touch docs/.nojekyll

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
"lint:prettier": "pob-root-prettier --check .",
"lint:prettier:fix": "pob-root-prettier --write .",
"postinstallDev": "pob-root-postinstall",
"test": "TS_NODE_PROJECT=tsconfig.test.json node --test lib/**/*.test.js",
"test": "node --test lib/**/*.test.js",
"test-typings": "tsc -p typings/tsconfig.json",
"test:coverage": "TS_NODE_PROJECT=tsconfig.test.json npx c8 --src ./lib node --test lib/**/*.test.js",
"test:coverage:json": "TS_NODE_PROJECT=tsconfig.test.json npx c8 --reporter=json --src ./lib node --test lib/**/*.test.js",
"test:coverage:lcov": "TS_NODE_PROJECT=tsconfig.test.json npx c8 --reporter=lcov --src ./lib node --test lib/**/*.test.js",
"test:watch": "TS_NODE_PROJECT=tsconfig.test.json node --test lib/**/*.test.js"
"test:coverage": "npx c8 --src ./lib node --test lib/**/*.test.js",
"test:coverage:json": "npx c8 --reporter=json --src ./lib node --test lib/**/*.test.js",
"test:coverage:lcov": "npx c8 --reporter=lcov --src ./lib node --test lib/**/*.test.js",
"test:watch": "node --test lib/**/*.test.js"
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit d28aa3b

Please sign in to comment.