Skip to content

Commit

Permalink
Instruct npm to use token (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored Mar 26, 2021
1 parent ddab5f9 commit 9d08a49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/webviz-core-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ jobs:
- name: 🔼 Build and publish Node.js package
if: github.event_name == 'release' && matrix.python-version == '3.6'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm version --no-git-tag-version ${GITHUB_REF//refs\/tags\//}
npm config set '//registry.npmjs.org/:_authToken' '${NPM_TOKEN}'
npm config set always-auth true
npm publish --access public
- name: 🚢 Build and deploy Python package
Expand Down

0 comments on commit 9d08a49

Please sign in to comment.