We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 499e1e1 + 446d5ca commit c8d99caCopy full SHA for c8d99ca
.github/workflows/ci.yml
@@ -14,6 +14,8 @@ jobs:
14
node-version: '20'
15
- run: npm install
16
- run: npm run test -- --coverage --reporter=json-summary
17
+ - name: Check coverage thresholds
18
+ run: npx c8 check-coverage --lines 85 --branches 80 --functions 85
19
- uses: actions/upload-artifact@v3
20
with:
21
name: coverage-baseline
package.json
@@ -144,5 +144,11 @@
144
"pic/**/*",
145
"README.md",
146
"LICENSE"
147
- ]
+ ],
148
+ "nyc": {
149
+ "check-coverage": true,
150
+ "lines": 85,
151
+ "branches": 80,
152
+ "functions": 85
153
+ }
154
}
0 commit comments