Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
# The OIDC exchange lives in the npm CLI itself and needs npm >= 11.5.1;
# with an older npm the PUT goes out unauthenticated and the registry
# answers E404. Node 22 bundles npm 10, hence Node 24 plus an explicit
# upgrade rather than trusting whatever the runner image bundles.
# pin rather than trusting whatever the runner image bundles. Pinned to
# the 11 line, not latest: pnpm publish forwards --no-git-checks to npm,
# which npm 12 rejects as an unknown flag (EUNKNOWNCONFIG).
release:
needs: test
runs-on: ubuntu-latest
Expand All @@ -52,7 +54,7 @@ jobs:
cache: pnpm
registry-url: https://registry.npmjs.org
- name: npm with trusted publishing support
run: npm install -g npm@latest && npm --version
run: npm install -g npm@11 && npm --version
- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
Expand Down
Loading