File tree 1 file changed +16
-13
lines changed
1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change 7
7
release :
8
8
name : Release
9
9
runs-on : ubuntu-18.04
10
- env :
11
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
12
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
13
10
steps :
14
- - uses : actions/checkout@v2
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ - name : Setup Node.js
14
+ uses : actions/setup-node@v2
15
15
with :
16
- token : ${{ env.GITHUB_TOKEN }}
17
- - uses : actions/setup-node@v2
18
- with :
19
- node-version : 14
20
- cache : npm
21
- - uses : bahmutov/npm-install@v1 # 使用
22
- - run : npm ci
23
- - run : npx semantic-release
24
- - run : npm run version
16
+ node-version : 12
17
+ - name : SetUp Depbot
18
+ uses : bahmutov/npm-install@v1 # 使用
19
+ - name : Install dependencies
20
+ run : npm ci
21
+ - name : Release
22
+ run : npx semantic-release
23
+ - name : generate ChangeLog
24
+ run : npm run version
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
27
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments