File tree Expand file tree Collapse file tree 3 files changed +36
-30
lines changed
Expand file tree Collapse file tree 3 files changed +36
-30
lines changed Original file line number Diff line number Diff line change 11name : Pre-Release
22on :
3- release :
4- types : [prereleased]
3+ release :
4+ types : [prereleased]
55jobs :
6- Publish :
7- runs-on : ubuntu-latest
8- permissions :
9- contents : read
10- packages : write
11- steps :
12- - uses : actions/checkout@v2
13- - uses : actions/setup-node@v2
14- with :
15- node-version : ' 12.x'
16- registry-url : ' https://registry.npmjs.org'
17- - name : Install
18- run : npm install
19- - name : Test
20- run : npm run test
21- - uses : codecov/codecov-action@v4
22- with :
23- files : coverage/*.json
24- flags : unittests
25- name : react-carousel-codecov
26- fail_ci_if_error : true
27- verbose : true
28- - name : Build
29- run : npm run build
30- - name : Publish
31- run : npm publish --access=public --tag beta
32- env :
33- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6+ Publish :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : read
10+ packages : write
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v2
14+ with :
15+ node-version : ' 12.x'
16+ registry-url : ' https://registry.npmjs.org'
17+ - name : Install
18+ run : npm install
19+ - name : Test
20+ run : npm run test
21+ - uses : codecov/codecov-action@v4
22+ env :
23+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
24+ with :
25+ files : coverage/*.json
26+ flags : unittests
27+ name : react-carousel-codecov
28+ fail_ci_if_error : true
29+ verbose : true
30+ - name : Build
31+ run : npm run build
32+ - name : Publish
33+ run : npm publish --access=public --tag beta
34+ env :
35+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 2323 - name : Test
2424 run : npm run test
2525 - uses : codecov/codecov-action@v4
26+ env :
27+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
2628 with :
2729 files : coverage/*.json
2830 flags : unittests
Original file line number Diff line number Diff line change 1919 - name : Test
2020 run : npm run test
2121 - uses : codecov/codecov-action@v4
22+ env :
23+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
2224 with :
2325 files : coverage/*.json
2426 flags : unittests
You can’t perform that action at this time.
0 commit comments