File tree Expand file tree Collapse file tree 4 files changed +4347
-158
lines changed
Expand file tree Collapse file tree 4 files changed +4347
-158
lines changed Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- push :
5- branches : [ master ]
64 pull_request :
75 branches : [ master ]
86
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+
16+ - name : Setup Node.js environment
17+ uses : actions/setup-node@v1.4.4
18+
19+ - name : Install dependencies
20+ run : npm ci
21+
22+ - name : Build
23+ run : npm run build
24+
25+ - name : Unit tests
26+ run : npm run test
27+
28+ - name : Release
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
32+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments