🔧 使用组织级ORG_NPM_TOKEN替代NPM_TOKEN - 更新CI配置使用secrets.ORG_NPM_TOKEN - 更新文档说明组织级token配置方法 - 准备测试npm认证

This commit is contained in:
sean
2025-06-02 10:15:44 +08:00
parent 077da7a25e
commit ca9f306c67
2 changed files with 17 additions and 5 deletions

View File

@ -62,8 +62,8 @@ jobs:
echo "SNAPSHOT_VERSION=$SNAPSHOT_VERSION" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
- name: Comment on related PRs
if: success()