Skip to content

Commit eedc5d7

Browse files
committed
fix registry-url
1 parent f7cafa7 commit eedc5d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ jobs:
3838

3939
- name: Setup Node.js
4040
uses: actions/setup-node@v4
41-
env:
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4341
with:
4442
node-version: '22'
4543
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
4644
cache: 'pnpm'
45+
registry-url: '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}'
4746

4847
- name: Setup pnpm
4948
uses: pnpm/action-setup@v4

0 commit comments

Comments
 (0)