mirror of
https://github.com/unraid/api.git
synced 2026-01-09 18:20:12 -06:00
chore: ensure all coverage is run
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
||||
run: npm install
|
||||
|
||||
- name: Check coverage
|
||||
run: npm run cover:types
|
||||
run: npm run cover
|
||||
|
||||
compile-source:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
"lint:quiet": "eslint --quiet",
|
||||
"lint:fix": "eslint --fix",
|
||||
"test": "nyc ava",
|
||||
"cover": "npm run cover:unit && npm run cover:integration && npm run cover:report",
|
||||
"cover:unit": "nyc --silent npm run test:unit",
|
||||
"cover:integration": "nyc --silent --no-clean npm run test:integration",
|
||||
"cover:types": "typescript-coverage-report && npx tsup ./app/cli.ts --dts",
|
||||
"cover": "npm run cover:types && npm run cover:unit && npm run cover:report",
|
||||
"cover:types": "typescript-coverage-report && tsup ./app/cli.ts --dts",
|
||||
"cover:unit": "nyc --silent npm run test",
|
||||
"cover:report": "nyc report --reporter=lcov --reporter=text",
|
||||
"patch": "npm-run-all patch:**",
|
||||
"patch:subscriptions-transport-ws": "node ./.scripts/patches/subscriptions-transport-ws.js",
|
||||
|
||||
Reference in New Issue
Block a user