From d3041929a1a0fa4d2da87a31c79561aed5a7dadf Mon Sep 17 00:00:00 2001 From: David Di Biase <1168397+davedbase@users.noreply.github.com> Date: Mon, 30 Nov 2026 22:20:01 -0500 Subject: [PATCH] fix(release): stay on npm 11 for the v1 release npm@latest is now 12, which turns an unknown flag into an error. pnpm 10 (pinned on this branch) forwards --git-checks to npm publish, so every publish failed with EUNKNOWNCONFIG. npm 11 still supports trusted publishing (>= 11.5.1) and only warns. Reproduced with npm 12.2.3 (error) and 11.21.3 (warning). Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/release-tagged.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-tagged.yml b/.github/workflows/release-tagged.yml index a156ca76c..522224ce9 100644 --- a/.github/workflows/release-tagged.yml +++ b/.github/workflows/release-tagged.yml @@ -28,10 +28,10 @@ jobs: - name: Install Dependencies run: pnpm i - # Trusted publishing (OIDC) requires npm CLI >=11.5.1; Node 22's - # bundled npm is older, so upgrade the global npm used for publish. + # Trusted publishing (OIDC) requires npm CLI >=11.5.1; Node 22's bundled npm is older. + # Stay on 11: npm 12 rejects the `--git-checks` flag that pnpm 10 forwards to `npm publish`. - name: Ensure npm supports trusted publishing - run: npm install -g npm@latest + run: npm install -g npm@11 - name: Create Release Pull Request or Publish to npm id: changesets