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 b974a14 commit b97e388
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 44 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/github-action@v1.1.2
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 }}
38 changes: 0 additions & 38 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 @@ -26,7 +26,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 @@ -57,7 +56,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 b97e388

Please sign in to comment.