File tree 1 file changed +13
-15
lines changed
1 file changed +13
-15
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 }}
10
13
steps :
11
- - name : Checkout
12
- uses : actions/checkout@v2
13
- - name : Setup Node.js
14
- uses : actions/setup-node@v2
14
+ - uses : actions/checkout@v2
15
15
with :
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
- run : npm run version
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
26
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
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
You can’t perform that action at this time.
0 commit comments