File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 13
13
node-version : ${{matrix.node}}
14
14
- run : npm install
15
15
- run : npm test
16
+ - uses : codecov/codecov-action@v3
16
17
strategy :
17
18
matrix :
18
19
node :
Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
* .d.ts
3
3
* .log
4
+ coverage /
4
5
node_modules /
5
6
yarn.lock
Original file line number Diff line number Diff line change 16
16
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
17
17
"format" : " prettier . -w --loglevel warn && xo --fix" ,
18
18
"test-api" : " node --conditions development test.js" ,
19
- "test" : " npm run build && npm run format && npm run test-api"
19
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
20
+ "test" : " npm run build && npm run format && npm run test-coverage"
20
21
},
21
22
"keywords" : [
22
23
" unist" ,
39
40
"@types/lodash.iteratee" : " ^4.0.0" ,
40
41
"@types/tape" : " ^5.0.0" ,
41
42
"@types/unist" : " ^2.0.6" ,
43
+ "c8" : " ^8.0.0" ,
42
44
"mdast-util-from-markdown" : " ^1.0.0" ,
43
45
"prettier" : " ^2.0.0" ,
44
46
"tape" : " ^5.0.0" ,
You can’t perform that action at this time.
0 commit comments