From e2f4d558e1078ad22dec1082767722355b8e85fc Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Wed, 20 May 2026 10:05:38 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20bun=20publish=20=E9=80=9A?= =?UTF-8?q?=E8=BF=87=20~/.npmrc=20=E9=85=8D=E7=BD=AE=20registry=20?= =?UTF-8?q?=E8=AE=A4=E8=AF=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9afcb398ca3eba189c573472175d7b23806a9a9b. --- .github/workflows/publish-npm.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 6e2fddd41..42141a38e 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -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