1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Make sure auth token for NPM registry is set

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-01-26 09:29:29 -05:00
parent 20572941d4
commit 4b00d9a8a6
2 changed files with 4 additions and 0 deletions

View File

@ -32,4 +32,7 @@ jobs:
- name: Publish NPM package
run: |
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
yarn lerna publish from-package --dist-tag master --no-push --no-git-tag-version --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -37,6 +37,7 @@ jobs:
- name: Publish NPM packages
run: |
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
yarn lerna publish from-package --no-push --no-git-tag-version --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}