Skip to content

Commit 0ea68dc

Browse files
committed
Fix ci
1 parent 3c7f99a commit 0ea68dc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ jobs:
3434
node-version: "20"
3535
registry-url: "https://registry.npmjs.org/"
3636

37+
# Ensure npm 11.5.1 or later for trusted publishing
38+
# https://github.com/orgs/community/discussions/173102#discussioncomment-14367428
39+
- name: Update npm to latest
40+
run: npm install -g npm@latest
41+
3742
- name: Publish to npm
3843
run: cd dist && npm publish

0 commit comments

Comments
 (0)