Skip to content

Commit 059a4b0

Browse files
committed
Update coverage to work on windows and don't enforce coverage on dev
1 parent 96f62b8 commit 059a4b0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "bash ./scripts/md2html/build.sh",
1717
"build-src": "npm run validate-markdown && bash ./scripts/md2html/build.sh src && bash ./scripts/schema-publish.sh src",
18-
"test": "c8 --100 vitest run --coverage && nyc check-coverage",
18+
"test": "c8 --100 vitest run --coverage && ([ \"$BASE\" = \"dev\" ] || nyc check-coverage )",
1919
"format-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml --fix src/oas.md && npx markdownlint-cli2 --fix *.md",
2020
"validate-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml src/oas.md && npx markdownlint-cli2 *.md"
2121
},
@@ -27,7 +27,7 @@
2727
"yargs": "^18.0.0"
2828
},
2929
"devDependencies": {
30-
"@hyperjump/json-schema-coverage": "^1.0.1",
30+
"@hyperjump/json-schema-coverage": "^1.0.2",
3131
"c8": "^10.1.3",
3232
"markdownlint-cli2": "^0.18.1",
3333
"nyc": "^17.1.0",

0 commit comments

Comments
 (0)