File tree Expand file tree Collapse file tree 5 files changed +54
-72
lines changed
Expand file tree Collapse file tree 5 files changed +54
-72
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ release :
8+ name : Release
9+ runs-on : ubuntu-18.04
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v2
13+ with :
14+ fetch-depth : 0
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v1
17+ with :
18+ node-version : 12
19+ - name : Install dependencies
20+ run : npm ci
21+ - name : Test
22+ run : |
23+ npm run test:prod
24+ npm run build
25+ - name : Release
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
29+ run : npx semantic-release
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches :
5+ - ' *'
6+ - ' !master'
7+ jobs :
8+ test :
9+ name : Release
10+ runs-on : ubuntu-18.04
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : 12
20+ - name : Install dependencies
21+ run : npm ci
22+ - name : Test
23+ run : |
24+ npm run test:prod
25+ npm run build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3535 "report-coverage" : " cat ./coverage/lcov.info | coveralls" ,
3636 "commit" : " git-cz" ,
3737 "semantic-release" : " semantic-release" ,
38- "semantic-release-prepare" : " ts-node tools/semantic-release-prepare" ,
3938 "precommit" : " lint-staged" ,
4039 "travis-deploy-once" : " travis-deploy-once"
4140 },
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments