File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 2525 uses : actions/setup-node@v1
2626 with :
2727 node-version : ${{ matrix.node-version }}
28- - run : npm i -g yarn
28+ - run : npm i -g yarn codecov
2929 - run : yarn install
3030 - run : yarn test
31+ - run : codecov
Original file line number Diff line number Diff line change 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+ default :
9+ informational : true
Original file line number Diff line number Diff line change 1111 "scripts" : {
1212 "build" : " tsc -p ." ,
1313 "lint" : " eslint . --ext .ts" ,
14+ "report" : " nyc --reporter=text-lcov npm test > coverage.lcov" ,
1415 "test" : " NODE_ENV=test nyc mocha -r ts-node/register \" src/**/*.spec.ts\" --exit"
1516 },
1617 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments