File tree Expand file tree Collapse file tree 3 files changed +46
-19
lines changed Expand file tree Collapse file tree 3 files changed +46
-19
lines changed Original file line number Diff line number Diff line change 1+ name : feature-branch
2+ on :
3+ push :
4+ branches :
5+ - ' *'
6+ - ' */*'
7+ - ' **'
8+ - ' !master'
9+ jobs :
10+ CI :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ - name : Install Node & NPM
16+ uses : actions/setup-node@v3
17+ - name : Install node modules
18+ run : npm install
19+ - name : Test
20+ run : npm run test
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+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v3
12+ with :
13+ persist-credentials : false
14+ - name : Install Node & NPM
15+ uses : actions/setup-node@v3
16+ - name : Install node_modules
17+ run : npm install
18+ - name : Test
19+ run : npm run test
20+ - name : Build
21+ run : npm run build
22+ - name : Release
23+ uses : cycjimmy/semantic-release-action@v3
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
26+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments