Skip to content

Commit 8df8172

Browse files
Merge pull request #2289 from IgniteUI/btraykov/update-npm-for-npmjs-oidc
Add step to update NPM in workflow
2 parents 296ad25 + 266b199 commit 8df8172

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
node-version: '22'
1919
registry-url: 'https://registry.npmjs.org'
2020

21+
- name: Update NPM - for OIDC/Trusted Publishing to npmjs.org
22+
run: npm install -g npm@latest
23+
2124
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
2225
- run: echo ${VERSION}
2326

0 commit comments

Comments
 (0)