From 7c7406a31744b4cec92329b57e1f0f6be14ac21a Mon Sep 17 00:00:00 2001 From: vvillait88 Date: Tue, 7 Apr 2026 09:26:26 -0700 Subject: [PATCH] fix: remove broken npm self-upgrade from publish workflow Node 22.22.2's bundled npm has a broken promise-retry dependency that causes npm install -g npm@latest to fail (npm/cli#9151). Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/publish.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bba5381..9f69c56 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,8 +21,6 @@ jobs: node-version: "22" registry-url: "https://registry.npmjs.org" - - name: Ensure latest npm - run: npm install -g npm@latest - name: Set version from tag run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version --allow-same-version