Skip to content

Commit

Permalink
fix(github): ci workflow should not fail because coveralls is having …
Browse files Browse the repository at this point in the history
…a bad day
  • Loading branch information
hfreire committed May 11, 2021
1 parent 036854c commit d66699b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 47 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Test source code
run: npm test
- name: Submit coveralls test coverage report
run: npm run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check if release should be created
run: npm run semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44 changes: 3 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"babel-preset-env": "1.7.0",
"chai": "4.3.3",
"chai-as-promised": "7.1.1",
"coveralls": "3.1.0",
"eslint": "6.8.0",
"eslint-config-hfreire": "2.0.7",
"eslint-plugin-import": "2.22.1",
Expand Down Expand Up @@ -61,7 +60,6 @@
"snyk:test": "./node_modules/.bin/snyk test",
"snyk:protect": "./node_modules/.bin/snyk protect",
"babel": "mkdir -p lib && ./node_modules/.bin/babel src/ -d lib",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"semantic-release": "./node_modules/.bin/semantic-release",
"clean": "rm -rf lib coverage",
"lint": "npm run eslint",
Expand Down

0 comments on commit d66699b

Please sign in to comment.