Skip to content

Commit

Permalink
chore: set .npmrc before yarn publish
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Mar 5, 2024
1 parent 69a326d commit 24f7105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: Install dependencies
run: yarn install

- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc

- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit 24f7105

Please sign in to comment.