File tree Expand file tree Collapse file tree 1 file changed +22
-9
lines changed
Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -27,25 +27,38 @@ jobs:
2727 run : yarn install
2828 - name : Run tests
2929 run : yarn cover
30- - name : Send covarage
31- run : yarn add coveralls && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
32- env :
33- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
34- COVERALLS_SERVICE_NAME : " GitHub Action"
35- COVERALLS_SERVICE_JOB_ID : ${{ github.sha }}
36- COVERALLS_GIT_COMMIT : ${{ github.sha }}
37- COVERALLS_GIT_BRANCH : ${{ github.ref }}
30+ - name : Coveralls
31+ uses : coverallsapp/github-action@master
32+ with :
33+ github-token : ${{ secrets.github_token }}
34+ parallel : true
3835 - uses : 8398a7/action-slack@v1
3936 with :
4037 type : failure
4138 env :
4239 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4340 SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
4441 if : failure()
42+
43+ coverallsFinished :
44+ name : Coveralls Finished
45+ needs : jest
46+ runs-on : ubuntu-latest
47+ steps :
48+ - name : Coveralls Finished
49+ uses : coverallsapp/github-action@master
50+ with :
51+ github-token : ${{ secrets.github_token }}
52+ parallel-finished : true
53+
54+ slack :
55+ name : Slack
56+ needs : coverallsFinished
57+ runs-on : ubuntu-latest
58+ steps :
4559 - uses : 8398a7/action-slack@v1
4660 with :
4761 type : success
4862 env :
4963 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5064 SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
51- if : success()
You can’t perform that action at this time.
0 commit comments