Skip to content

Commit

Permalink
fix: publish config
Browse files Browse the repository at this point in the history
I think you need to specify the registry-url in actions/setup-node to publish to npm from GitHub Actions.
  • Loading branch information
ForbesLindesay authored Mar 9, 2022
1 parent a3a35dd commit da79d06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '14.x'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
registry-url: 'https://registry.npmjs.org'
- name: npm install, build, test, publish
run: |
node --version
Expand Down

0 comments on commit da79d06

Please sign in to comment.