Skip to content

Commit 5c3cd5d

Browse files
CopilotNoopDog
andauthored
Add npm 11.5.1+ upgrade step for OIDC trusted publishing (#726)
* Initial plan * Add npm 11.5.1+ upgrade step to release-please workflow for trusted publishing Co-authored-by: NoopDog <3239697+NoopDog@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NoopDog <3239697+NoopDog@users.noreply.github.com>
1 parent d687b4c commit 5c3cd5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
registry-url: "https://registry.npmjs.org"
3333
always-auth: true # Enable authentication for trusted publishing
3434

35+
- name: Upgrade npm for trusted publishing
36+
if: ${{ steps.release.outputs.release_created }}
37+
run: npm install -g npm@^11.5.1
38+
3539
- name: Install dependencies
3640
if: ${{ steps.release.outputs.release_created }}
3741
run: npm ci

0 commit comments

Comments
 (0)