Skip to content
Open
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

# Workaround for Node 22.22.2 regression:
# `npm install -g npm@latest` breaks npm's own dependency tree.
# Work around the Node 22.22.2 npm self-upgrade regression while keeping
# npm below v12: Rush's pnpm publish flow forwards --no-git-checks to npm,
# which npm v12 rejects as an unknown CLI config.
# See: https://github.com/nodejs/node/issues/62425
# Fix: use corepack or npx to bootstrap, then install npm@latest.
- name: Update npm (workaround for Node 22.22.2 bug)
- name: Update npm to the OIDC-compatible npm 11.5.1
run: |
echo "Current npm version: $(npm --version)"
npx npm@latest install -g npm@latest
npx npm@11.5.1 install -g npm@11.5.1
echo "Updated npm version: $(npm --version)"

- name: Verify OIDC requirements
Expand Down
3 changes: 2 additions & 1 deletion common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
* When someone asks for "^1.0.0" make sure they get "1.2.3" when working in this repo,
* instead of the latest version.
*/
// "some-library": "1.2.3"
// "some-library": "1.2.3",
"@types/node": "20.12.7"
},

/**
Expand Down
Loading