diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8dcf8e4..dad5e38b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -279,6 +279,9 @@ jobs: bun run typecheck:release - name: Assemble announcement, changelog and contributors run: node scripts/generate-release-notes.ts "${RELEASE_TAG#v}" "$RUNNER_TEMP/release-notes.md" + - name: Install npm with trusted dist-tag support + # Node 24.22.3 bundles npm 11.19.1. Moving dist-tags with trusted publishing needs npm 11.21.0 or newer. + run: npm install -g npm@11.21.3 - name: Publish packages with trusted publishing # Each package must have a trusted publisher for release.yml. run: node scripts/publish-release.ts "${RELEASE_TAG#v}"