File tree Expand file tree Collapse file tree 2 files changed +17
-21
lines changed Expand file tree Collapse file tree 2 files changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -2,31 +2,27 @@ name: 'π¦ Coverage'
22
33on :
44 push :
5- branches : [master, dev]
5+ branches : [master,dev]
66 pull_request :
77 branches : [master,dev]
8- env :
9- CI : true
108
119jobs :
1210 build :
1311 name : Build
1412 runs-on : ubuntu-latest
1513 steps :
16-
17- - uses : actions/checkout@v1
18-
19- - name : Use Node.js 14
20- uses : actions/setup-node@v1
21- with :
22- node-version : 14
23-
24- - name : npm install, make test-coverage
25- run : |
26- npm install
27- npm run test:coveralls
28-
29- - name : Coveralls
30- uses : coverallsapp/github-action@master
31- with :
32- github-token : ${{secrets.GITHUB_TOKEN}}
14+ - name : π Check out Git repository
15+ uses : actions/checkout@v2
16+ - name : π’ Setup Node.js
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : 16
20+ - name : π Install dependencies
21+ run : npm install
22+ - name : βοΈ Create coverage
23+ run : npm run test:coveralls
24+ - name : Coveralls
25+ uses : coverallsapp/github-action@master
26+ with :
27+ COVERALLS_REPO_TOKEN : ${{secrets.COVERALLS_REPO_TOKEN}}
28+ github-token : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1818 with :
1919 node-version : 16
2020 registry-url : ' https://registry.npmjs.org'
21- - name : π Install Node.js dependencies
21+ - name : π Install dependencies
2222 run : npm install
2323 - name : π¦ Publish package to NPM
2424 run : npm publish
You canβt perform that action at this time.
0 commit comments