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 10, 2021
1 parent 1f18b35 commit e5e834c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 114 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Test docker image
run: npm run docker: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 }}
120 changes: 12 additions & 108 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 @@ -24,7 +24,6 @@
"serverful": "1.4.89"
},
"devDependencies": {
"coveralls": "3.1.0",
"eslint": "6.8.0",
"eslint-config-hfreire": "3.0.58",
"jest": "26.6.3",
Expand Down Expand Up @@ -74,7 +73,6 @@
"docker:push": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/docker/scripts/push",
"docker:test": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/docker/scripts/test",
"terraform:deploy": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/terraform/scripts/deploy",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"semantic-release": "./node_modules/.bin/semantic-release",
"clean": "rm -rf coverage",
"lint": "npm run eslint",
Expand Down

0 comments on commit e5e834c

Please sign in to comment.