Skip to content

Commit b328d60

Browse files
author
Test User
committed
fix: ensure NODE_AUTH_TOKEN is set in setup-node step
- Add NODE_AUTH_TOKEN env var to setup-node action - Ensures npm authentication is configured early - Already present in publish step, now also in setup step for consistency
1 parent da0c969 commit b328d60

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
@@ -157,6 +157,8 @@ jobs:
157157
with:
158158
node-version: ${{ env.NODE_VERSION }}
159159
registry-url: 'https://registry.npmjs.org'
160+
env:
161+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
160162

161163
- name: Extract version from tag
162164
id: get_version

0 commit comments

Comments
 (0)