Skip to content

Commit 5c0294f

Browse files
author
wangshan
committedNov 20, 2021
chore: 构建过程或辅助工具的变动 包括但不限于文档、代码生成等)
1 parent d2f9f5c commit 5c0294f

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
 

‎.github/workflows/release.yml

+16-13
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,21 @@ jobs:
77
release:
88
name: Release
99
runs-on: ubuntu-18.04
10-
env:
11-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
12-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1310
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
1515
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 }}

0 commit comments

Comments
 (0)
Please sign in to comment.