Skip to content

Commit 70aba6e

Browse files
committed
🔧 [build] Run coverage-fails target in build script
- Update package.json build script to use "npm run test:coverage:fails" instead of "npm run test" - Ensure build fails on coverage/test failures so CI and release workflows surface regressions Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent 1535499 commit 70aba6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"types": "types"
3838
},
3939
"scripts": {
40-
"build": "pwsh -NoProfile -File ./scripts/build.ps1 && npm run release:notes && npm run release:notes:latest && npm run verify && npm run test",
40+
"build": "pwsh -NoProfile -File ./scripts/build.ps1 && npm run release:notes && npm run release:notes:latest && npm run verify && npm run test:coverage:fails",
4141
"build:help": "pwsh -NoProfile -File ./scripts/Build-Help.ps1 -UpdateMarkdown",
4242
"build:skip-help": "pwsh -NoProfile -File ./scripts/build.ps1 -SkipHelp",
4343
"convert": "node ./scripts/Convert-AnsiToColorScript.js --strip-space-bg",
@@ -78,7 +78,7 @@
7878
"test:coverage:skipped": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Show Skipped",
7979
"test:coverage:summary": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Show Summary",
8080
"test:custom": "pwsh -NoProfile -File ./scripts/Test-Module.ps1",
81-
"test:pester": "pwsh -NoProfile -Command \"Invoke-Pester -Path ./Tests\"",
81+
"test:pester": "pwsh -NoProfile -Command \"Invoke-Pester -Path ./Tests\" -Output Minimal",
8282
"verify": "npm run lint:fix && npm run readme:check",
8383
"verify:strict": "npm run lint:strict:fix && npm run readme:check"
8484
},

0 commit comments

Comments
 (0)