Skip to content

Commit 9b0032e

Browse files
Update ci.yml
1 parent 108486e commit 9b0032e

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
run: yarn install
4848
- name: Run tests
4949
run: yarn cover
50-
- name: Coveralls
51-
uses: coverallsapp/github-action@master
52-
with:
53-
github-token: ${{ secrets.github_token }}
54-
parallel: true
50+
- name: Codecov
51+
run: curl -s https://codecov.io/bash | bash -s -- -t $CODECOV_TOKEN -f $COVERAGE_FILE
52+
env:
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
54+
COVERAGE_FILE: ./coverage/lcov.info
5555
- uses: 8398a7/action-slack@v1
5656
with:
5757
type: failure
@@ -60,20 +60,9 @@ jobs:
6060
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6161
if: failure()
6262

63-
coverallsFinished:
64-
name: Coveralls Finished
65-
needs: jest
66-
runs-on: ubuntu-latest
67-
steps:
68-
- name: Coveralls Finished
69-
uses: coverallsapp/github-action@master
70-
with:
71-
github-token: ${{ secrets.github_token }}
72-
parallel-finished: true
73-
7463
slack:
7564
name: Slack
76-
needs: coverallsFinished
65+
needs: jest
7766
runs-on: ubuntu-latest
7867
steps:
7968
- uses: 8398a7/action-slack@v1

0 commit comments

Comments
 (0)