Skip to content

Commit 3d9f168

Browse files
Keep npm updated
1 parent c430d5a commit 3d9f168

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
cache: "pnpm"
3535
registry-url: "https://registry.npmjs.org"
3636

37+
# Ensure npm 11.5.1 or later is installed for trusted publishing
38+
- name: Update npm
39+
run: npm install -g npm@latest
40+
3741
- name: Install dependencies
3842
run: pnpm install --frozen-lockfile
3943

0 commit comments

Comments
 (0)