Adds npm token
This commit is contained in:
parent
6edf90ee97
commit
76d737340e
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
||||
- name: Install ubuntu deps
|
||||
run: sudo apt install mesa-common-dev libglu1-mesa-dev
|
||||
- run: npm install
|
||||
- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
|
||||
- run: npm publish --access=public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user