Skip to content

Commit

Permalink
fix: using npm auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
icsaba committed Sep 25, 2024
1 parent 964922c commit 5b742c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
with:
node-version: '22' # Specify Node.js version
cache: 'yarn' # Use Yarn and cache dependencies
registry-url: 'https://registry.npmjs.org'
always-auth: true

# Step 3: Install dependencies with Yarn
- name: Install dependencies
Expand All @@ -72,5 +74,5 @@ jobs:
- name: Publish to npm
run: yarn publish --non-interactive --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5b742c4

Please sign in to comment.