File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 4040
4141 - name : Test and cover
4242 run : npm run cover
43+
44+ - name : Report NYC coverage to Coveralls
45+ uses : coverallsapp/github-action@v2
46+
47+ - name : Report NYC coverage to pull request
48+ 49+ with :
50+ coverage_file : " coverage/coverage-summary.json"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# netatmo-nodejs-api
22
33[ ![ license: AGPLv3] ( https://img.shields.io/badge/license-AGPLv3-blue.svg )] ( https://www.gnu.org/licenses/agpl-3.0 )
4- [ ![ Build Status] ( https://travis-ci.com/ nioc/netatmo-nodejs-api.svg?branch=master )] ( https://travis-ci .com/nioc/netatmo-nodejs-api )
4+ [ ![ Build Status] ( https://img.shields.io/github/actions/workflow/status/ nioc/xmpp-web/commit.yml?label=github%20build )] ( https://github .com/nioc/xmpp-web/actions/workflows/commit.yml )
55[ ![ Coverage Status] ( https://coveralls.io/repos/github/nioc/netatmo-nodejs-api/badge.svg?branch=master )] ( https://coveralls.io/github/nioc/netatmo-nodejs-api?branch=master )
66[ ![ GitHub release] ( https://img.shields.io/github/release/nioc/netatmo-nodejs-api.svg )] ( https://github.com/nioc/netatmo-nodejs-api/releases/latest )
77[ ![ npms.io (final)] ( https://img.shields.io/npms-io/final-score/netatmo-nodejs-api )] ( https://www.npmjs.com/package/netatmo-nodejs-api )
Original file line number Diff line number Diff line change 88 "build" : " tsc -p ." ,
99 "lint" : " eslint ./src/**.ts" ,
1010 "test" : " mocha test/index.test.js" ,
11- "cover" : " nyc --reporter=html mocha test/index.test.js" ,
11+ "cover-html" : " nyc --reporter=html mocha test/index.test.js" ,
12+ "cover" : " nyc --reporter=json-summary --exclude-after-remap false mocha test/index.test.js" ,
1213 "coveralls" : " nyc npm test && nyc report --reporter=text-lcov | coveralls"
1314 },
1415 "engines" : {
You can’t perform that action at this time.
0 commit comments