File tree Expand file tree Collapse file tree 4 files changed +18
-346
lines changed Expand file tree Collapse file tree 4 files changed +18
-346
lines changed Original file line number Diff line number Diff line change 3
3
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
4
4
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions
5
5
6
- name : CI/ CD
6
+ name : CI- CD
7
7
8
8
on :
9
9
push :
50
50
run : npm run coverage
51
51
52
52
- name : Send code coverage results to Coveralls
53
- run : cat ./coverage/lcov.info | node_modules/.bin/coveralls
53
+ uses : coverallsapp/github-action@v1.0.1
54
+ with :
55
+ github-token : ${{ secrets.GITHUB_TOKEN }}
56
+ parallel : true
57
+
58
+ coverage :
59
+ name : Code Coverage
60
+ runs-on : ubuntu-latest
61
+ timeout-minutes : 10
62
+ needs : test
63
+ steps :
64
+ - name : Let Coveralls know that all tests have finished
65
+ uses : coverallsapp/github-action@v1.0.1
66
+ with :
67
+ github-token : ${{ secrets.GITHUB_TOKEN }}
68
+ parallel-finished : true
54
69
55
70
deploy :
56
71
name : Publish to NPM
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ NPM Publish GitHub Action
3
3
### Fast, easy publishing to NPM
4
4
5
5
![ Cross-Platform Compatibility] ( https://jstools.dev/img/badges/os-badges.svg )
6
- ![ Build Status] ( https://github.com/JS-DevTools/npm-publish/workflows/CI/ CD/badge.svg )
6
+ ![ Build Status] ( https://github.com/JS-DevTools/npm-publish/workflows/CI- CD/badge.svg )
7
7
8
8
[ ![ Coverage Status] ( https://coveralls.io/repos/github/JS-DevTools/npm-publish/badge.svg?branch=master )] ( https://coveralls.io/github/JS-DevTools/npm-publish )
9
9
[ ![ Dependencies] ( https://david-dm.org/JS-DevTools/npm-publish/status.svg )] ( https://david-dm.org/JS-DevTools/npm-publish )
You can’t perform that action at this time.
0 commit comments