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