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 a49ae83 commit 8767f4f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 151 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Set VERSION env var
run: echo ::set-env name=VERSION::${GITHUB_REF##*/}
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
- uses: actions/checkout@v1
with:
ref: ${{ github.ref }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,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/[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 }}
Loading

0 comments on commit 8767f4f

Please sign in to comment.