From dc74f24b8d3908fa749b46f68bc84cd310cb87b3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 10:32:25 +0000 Subject: [PATCH] ci: drop the unscoped _authToken line that npm 10 rejects Since CI moved to Node 22 (5bcd03e), npm rejects a bare _authToken in .npmrc with ERR_INVALID_AUTH, so creating the release PR and publishing both fail at npm whoami. The registry-scoped line written right after it already carries the token. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01S2yW3aohcrkGZ96iyLpv3a --- .github/workflows/onPullRequestMerged.yaml | 1 - .github/workflows/onReleaseMerged.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/onPullRequestMerged.yaml b/.github/workflows/onPullRequestMerged.yaml index ef9dcc0..dd03573 100644 --- a/.github/workflows/onPullRequestMerged.yaml +++ b/.github/workflows/onPullRequestMerged.yaml @@ -61,7 +61,6 @@ jobs: echo "init-license=MIT" >> .npmrc echo "always-auth=true" >> .npmrc echo "registry=https://registry.npmjs.org" >> .npmrc - echo "_authToken=$NPM_TOKEN" >> .npmrc echo "@frontegg:registry=https://registry.npmjs.org" >> .npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc npm whoami diff --git a/.github/workflows/onReleaseMerged.yaml b/.github/workflows/onReleaseMerged.yaml index 608e50c..60874b3 100644 --- a/.github/workflows/onReleaseMerged.yaml +++ b/.github/workflows/onReleaseMerged.yaml @@ -38,7 +38,6 @@ jobs: echo "init-license=MIT" >> .npmrc echo "always-auth=true" >> .npmrc echo "registry=https://registry.npmjs.org" >> .npmrc - echo "_authToken=$NPM_TOKEN" >> .npmrc echo "@frontegg:registry=https://registry.npmjs.org" >> .npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc npm whoami