Revert "fix: bun publish 通过 ~/.npmrc 配置 registry 认证"

This reverts commit 9afcb398ca.
This commit is contained in:
claude-code-best
2026-05-20 10:05:38 +08:00
parent 9afcb398ca
commit e2f4d558e1

View File

@@ -37,14 +37,10 @@ jobs:
- name: Run tests
run: bun test
- name: Configure npm registry auth
run: |
cat > ~/.npmrc << EOF
//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
EOF
- name: Publish to npm
run: bun publish --access public
env:
BUN_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate changelog
id: changelog