Change NPM api key in CLI release workflow (#4563)
This commit is contained in:
parent
4a3bb4b241
commit
3f3cbccf13
|
@ -266,7 +266,7 @@ jobs:
|
||||||
uses: bitwarden/gh-actions/get-keyvault-secrets@c3b3285993151c5af47cefcb3b9134c28ab479af
|
uses: bitwarden/gh-actions/get-keyvault-secrets@c3b3285993151c5af47cefcb3b9134c28ab479af
|
||||||
with:
|
with:
|
||||||
keyvault: "bitwarden-prod-kv"
|
keyvault: "bitwarden-prod-kv"
|
||||||
secrets: "cli-npm-api-key"
|
secrets: "npm-api-key"
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
|
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
|
||||||
|
@ -293,7 +293,7 @@ jobs:
|
||||||
echo 'registry="https://registry.npmjs.org/"' > ./.npmrc
|
echo 'registry="https://registry.npmjs.org/"' > ./.npmrc
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ./.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ./.npmrc
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ steps.retrieve-secrets.outputs.cli-npm-api-key }}
|
NPM_TOKEN: ${{ steps.retrieve-secrets.outputs.npm-api-key }}
|
||||||
|
|
||||||
- name: Install Husky
|
- name: Install Husky
|
||||||
run: npm install -g husky
|
run: npm install -g husky
|
||||||
|
|
Loading…
Reference in New Issue