-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add test coverage reporting and tests on node 10 and 12 (#66)
adds code coverage reporting using `nyc`, uses `codecov` to track coverage * build: update dependencies to remove vulnerabilities * docs: add coverage badge to readme
- Loading branch information
Showing
5 changed files
with
3,377 additions
and
1,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ dist | |
.validateignore | ||
.idea/ | ||
bin/ | ||
.nyc_output/ | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
language: node_js | ||
node_js: | ||
- '8' | ||
- 8 | ||
- 10 | ||
- 12 | ||
script: | ||
- npm run test-travis | ||
after_success: | ||
- npm run report-coverage | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: npx semantic-release | ||
on: | ||
branch: master | ||
node: 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.