Skip to content

Commit

Permalink
create .npmrc on-the-fly
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Rosendin committed Jul 14, 2023
1 parent bb4a410 commit c75e955
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
with:
name: probity-abi-artifacts
path: artifacts
# Publish to NPM
- name: Setup .npmrc file to publish to npm
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm
run: npm publish --registry=https://registry.npmjs.org/ --access public
env:
Expand Down

0 comments on commit c75e955

Please sign in to comment.