Skip to content

Commit

Permalink
chore: replace write .npmrc to npm set config
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert committed Jan 16, 2025
1 parent 2d73998 commit 84c72b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
git config --list
- name: Authenticate with Registry
run: |
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm config set registry https://registry.npmjs.org/
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 84c72b6

Please sign in to comment.