Skip to content

Commit 6bb11f9

Browse files
committed
Use latest npm
1 parent 2832793 commit 6bb11f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- '*'
7+
branches:
8+
- ci/use-latest-npm
79

810
permissions:
911
id-token: write
@@ -23,5 +25,8 @@ jobs:
2325
node-version: '18.x'
2426
registry-url: 'https://registry.npmjs.org'
2527

28+
29+
# Ensure npm 11.5.1 or later for trusted publishing
30+
- run: npm install -g npm@latest
2631
- run: npm i
2732
- run: npm run deploy

0 commit comments

Comments
 (0)