Skip to content

Commit 5b742c4

Browse files
committed
fix: using npm auth token
1 parent 964922c commit 5b742c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-please.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
with:
6464
node-version: '22' # Specify Node.js version
6565
cache: 'yarn' # Use Yarn and cache dependencies
66+
registry-url: 'https://registry.npmjs.org'
67+
always-auth: true
6668

6769
# Step 3: Install dependencies with Yarn
6870
- name: Install dependencies
@@ -72,5 +74,5 @@ jobs:
7274
- name: Publish to npm
7375
run: yarn publish --non-interactive --access public
7476
env:
75-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
77+
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7678

0 commit comments

Comments
 (0)