Skip to content

Commit 1fb9831

Browse files
committed
Enhance release workflow: add registry URL and NODE_AUTH_TOKEN for npm authentication
1 parent 55ea6a7 commit 1fb9831

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: 20
22+
registry-url: 'https://registry.npmjs.org'
2223

2324
- uses: pnpm/action-setup@v3
2425
name: Install pnpm
@@ -51,3 +52,4 @@ jobs:
5152
env:
5253
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5354
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
55+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)