Skip to content

Commit 660f38f

Browse files
chore: ensure npm@11 is installed for OIDC publishing (#8091)
* chore: ensure npm@11 is installed for OIDC publishing Signed-off-by: Luke Karrys <[email protected]> * Apply suggestions from code review Signed-off-by: Aviv Keller <[email protected]> --------- Signed-off-by: Luke Karrys <[email protected]> Signed-off-by: Aviv Keller <[email protected]> Co-authored-by: Aviv Keller <[email protected]>
1 parent 25167af commit 660f38f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish-packages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ jobs:
115115
node-version-file: '.nvmrc'
116116
registry-url: 'https://registry.npmjs.org'
117117

118+
- name: Re-install npm
119+
# TODO: OIDC requires npm >=11.5.1.
120+
# Until Node.js v24 is LTS (with npm 11 as the default), we need to bump.
121+
run: npm install -g npm@11
122+
118123
- name: Publish
119124
working-directory: packages/${{ matrix.package }}
120125
run: |

0 commit comments

Comments
 (0)