Skip to content

Commit

Permalink
Use setup node with specified registry
Browse files Browse the repository at this point in the history
And access token through env
  • Loading branch information
ovineq committed Jan 19, 2023
1 parent 81f049e commit bb7c53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
node-version: '18'
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
token: ${{secrets.npm_token}}

- name: Publish package to NPM
run: npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-docs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bb7c53b

Please sign in to comment.