Skip to content

Commit 4df76b7

Browse files
authored
chore: turn on light coverage (#539)
1 parent 4a4251a commit 4df76b7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
1616
with:
1717
license-check: true
18+
lint: true

.taprc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
ts: false
22
jsx: false
3-
coverage: false
3+
branches: 65
4+
functions: 100
5+
lines: 75
6+
statements: 75
7+
nyc-arg: "--exclude=.cache/*"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
"bench:cmp": "node ./benchmark/bench-cmp-branch.js",
1010
"bench:cmp:ci": "node ./benchmark/bench-cmp-branch.js --ci",
1111
"benchmark": "node ./benchmark/bench-cmp-lib.js",
12+
"lint": "standard",
1213
"lint:fix": "standard --fix",
1314
"test:lint": "standard",
1415
"test:typescript": "tsc --project ./test/types/tsconfig.json && tsd",
1516
"test:unit": "tap -J test/*.test.js test/**/*.test.js",
16-
"test": "npm run test:lint && npm run test:unit && npm run test:typescript"
17+
"test": "npm run test:unit && npm run test:typescript"
1718
},
1819
"precommit": "test",
1920
"repository": {

0 commit comments

Comments
 (0)