2 parents 9c15d89 + 83a034f commit 3d57d8aCopy full SHA for 3d57d8a
1 file changed
.github/workflows/release.yml
@@ -39,8 +39,13 @@ jobs:
39
run: pnpm install --frozen-lockfile
40
41
# OIDC trusted publishing requires npm >= 11.5.1 (Node 22 bundles npm 10.x).
42
+ # Run the installer via npx so the executing npm is not the copy being
43
+ # replaced — `npm install -g npm` overwrites its own install dir mid-run
44
+ # and dies on lazily-loaded modules (MODULE_NOT_FOUND: promise-retry).
45
- name: Update npm for trusted publishing
- run: npm install -g npm@11
46
+ run: |
47
+ npx -y npm@11 install -g npm@11
48
+ npm --version
49
50
- name: Create Release PR or Publish
51
uses: changesets/action@v1
0 commit comments