Skip to content

Commit

Permalink
.npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
jitu5 committed Mar 28, 2024
1 parent d4d6fb0 commit 573a02a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ jobs:
node -v
make build
# - name: Authenticate with registry
# run: |
# mkdir -p ~/repo/
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc

- name: Authenticate with registry
run: |
mkdir -p ~/repo/
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
# echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish to npm
run: npm publish
Expand Down

0 comments on commit 573a02a

Please sign in to comment.