Skip to content

Commit 1f4dba3

Browse files
committed
fix/ci: update runner npm verison before publishing the package
NPM Trusted Publishing requires NPM v11.5.1 or later but GitHub Action Runner has an older version currently so this step will ensure that the publish process uses newer versions of NPM
1 parent a188f77 commit 1f4dba3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
node-version: '22.x'
4747
registry-url: 'https://registry.npmjs.org'
4848

49+
- name: Update npm
50+
run: npm install -g npm@latest
51+
4952
- run: npm ci
5053
- run: npm publish
5154

0 commit comments

Comments
 (0)