From c117b59882b3bfe2115371168ad17614dcc89d49 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 28 Feb 2026 02:18:32 +0100 Subject: [PATCH] fix: configure npm auth in release workflow setup-node registry-url creates .npmrc with auth token reference, and NODE_AUTH_TOKEN maps the NPM_TOKEN secret for changesets publish. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1ee8840..92a55cec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: with: node-version: 20 cache: npm + registry-url: https://registry.npmjs.org - name: Install dependencies run: npm ci @@ -37,4 +38,4 @@ jobs: commit: "chore: version packages" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}