Skip to content

Commit 4436417

Browse files
committed
ci: ensure latest npm for trusted publishing
1 parent fd155dc commit 4436417

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/setup/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ runs:
1414
node-version-file: .nvmrc
1515
registry-url: 'https://registry.npmjs.org'
1616

17+
# Ensure npm 11.5.1 or later for trusted publishing
18+
- name: Ensure latest npm
19+
shell: bash
20+
run: npm install -g npm@latest
21+
1722
- name: Cache
1823
uses: actions/cache@v5
1924
with:

0 commit comments

Comments
 (0)