Skip to content

Commit 21b6d92

Browse files
committed
优化发布脚本配置
1 parent 4f371a2 commit 21b6d92

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020

21+
- uses: actions/setup-node@v1
22+
with:
23+
node-version: 12
24+
registry-url: https://registry.npmjs.org
25+
2126
- name: Build
2227
run: |
2328
yarn
@@ -29,7 +34,7 @@ jobs:
2934
3035
- name: Publish
3136
env:
32-
NPM_AUTH_TOKEN: ${{ secrets.AEX_NPM_TOKEN }}
37+
NODE_AUTH_TOKEN: ${{ secrets.AEX_NPM_TOKEN }}
3338
run: |
3439
yarn publish out --no-git-tag-version --new-version ${{ github.event.release.tag_name }}
3540

0 commit comments

Comments
 (0)