Skip to content

Commit e95d0a2

Browse files
authored
fix(ci): Update npm to support OIDC for trusted publishing (#55)
See also https://docs.npmjs.com/trusted-publishers
1 parent 6c8de03 commit e95d0a2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
registry-url: 'https://registry.npmjs.org'
4040
if: ${{ steps.release.outputs.release_created }}
4141

42+
# Ensure npm 11.5.1 or later is installed for OIDC
43+
- name: Update npm
44+
run: npm install -g npm@latest
45+
4246
- run: npm ci
4347
if: ${{ steps.release.outputs.release_created }}
4448

0 commit comments

Comments
 (0)