We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b069235 commit b8630d2Copy full SHA for b8630d2
3 files changed
.github/workflows/node.js.yml
@@ -25,6 +25,7 @@ jobs:
25
uses: actions/setup-node@v1
26
with:
27
node-version: ${{ matrix.node-version }}
28
- - run: npm i -g yarn
+ - run: npm i -g yarn codecov
29
- run: yarn install
30
- run: yarn test
31
+ - run: codecov
codecov.yml
@@ -0,0 +1,9 @@
1
+coverage:
2
+ status:
3
+ project:
4
+ default:
5
+ target: 80% # the required coverage value
6
+ threshold: 1% # the leniency in hitting the target
7
+ patch:
8
9
+ informational: true
package.json
@@ -11,6 +11,7 @@
11
"scripts": {
12
"build": "tsc -p .",
13
"lint": "eslint . --ext .ts",
14
+ "report": "nyc --reporter=text-lcov npm test > coverage.lcov",
15
"test": "NODE_ENV=test nyc mocha -r ts-node/register \"src/**/*.spec.ts\" --exit"
16
},
17
"devDependencies": {
0 commit comments