Skip to content

Commit 9573d5c

Browse files
committed
chore: update npm publishing process in auto-update workflow
- Changed the npm publish step to use trusted publishing via OIDC - Updated the command from 'pnpm publish --no-git-checks' to 'npm publish'
1 parent a7c57a9 commit 9573d5c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/auto-update.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ jobs:
162162
env:
163163
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164164

165-
- name: Publish to npm
165+
- name: Publish to npm (trusted publishing via OIDC)
166166
if: steps.check-update.outputs.skip != 'true'
167-
run: pnpm publish --no-git-checks
168-
env:
169-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
167+
run: npm publish

0 commit comments

Comments
 (0)