Skip to content

Commit 130ee60

Browse files
committed
Upgrade npm to latest in publish workflow for OIDC Trusted Publishers
1 parent 3f73f94 commit 130ee60

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ jobs:
5353
- uses: actions/setup-node@v6
5454
with:
5555
node-version-file: ".nvmrc"
56-
registry-url: "https://registry.npmjs.org"
57-
env:
58-
NODE_AUTH_TOKEN: ""
56+
57+
- name: Upgrade npm for Trusted Publishers OIDC support
58+
run: |
59+
npm install -g npm@latest
60+
npm --version
5961
6062
- name: Install dependencies
6163
run: npm ci

0 commit comments

Comments
 (0)