Revert "fix: bun publish 通过 ~/.npmrc 配置 registry 认证"
This reverts commit 9afcb398ca.
This commit is contained in:
parent
9afcb398ca
commit
e2f4d558e1
8
.github/workflows/publish-npm.yml
vendored
8
.github/workflows/publish-npm.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user