Skip to content

Commit c6cd561

Browse files
committed
chore: 添加publish密钥
1 parent eddc070 commit c6cd561

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
env:
2222
TAG_VERSION: ${{env.TAG_VERSION}}
2323
GIT_HEAD: ${{env.GIT_HEAD}}
24+
- name: Gen .npmrc
25+
run: echo "//registry.npmjs.com/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ./.npmrc
2426
- name: Publish
2527
run: sh ./scripts/publish.sh
2628

0 commit comments

Comments
 (0)