Skip to content

Commit 80310cc

Browse files
committed
chore: setting up trusted publisher for npm publish
1 parent 504ff73 commit 80310cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
with:
2323
node-version: 'lts/*'
2424
registry-url: 'https://registry.npmjs.org'
25+
# Ensure npm 11.5.1 or later is installed
26+
- name: Update npm
27+
run: npm install -g npm@latest
2528
- run: pnpm install
2629
- run: pnpm publish --no-git-checks
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)