Compare commits

..

1 Commits

Author SHA1 Message Date
claude-code-best
9afcb398ca fix: bun publish 通过 ~/.npmrc 配置 registry 认证 2026-05-20 09:34:59 +08:00

View File

@@ -37,10 +37,14 @@ 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