From 9854e9f6e51f3e3abe4ffab4743eaa99e99ac8f0 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 16 Jan 2026 02:20:15 +0900 Subject: [PATCH] Revert "fix(ci): add NPM_TOKEN support for npm publishing" This reverts commit 5de3d4fb7d4fd68d67b2d3d59d2b58b49c0aae5b. --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 70259df95..be02c6ebe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -77,11 +77,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "24" - registry-url: "https://registry.npmjs.org" - - name: Upgrade npm + - name: Upgrade npm for OIDC trusted publishing run: npm install -g npm@latest + - name: Configure npm registry + run: npm config set registry https://registry.npmjs.org + - name: Install dependencies run: bun install env: @@ -137,7 +139,6 @@ jobs: VERSION: ${{ inputs.version }} CI: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true - name: Delete draft release