File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed
Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments