mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
Change NPM api key in CLI release workflow (#4563)
This commit is contained in:
4
.github/workflows/release-cli.yml
vendored
4
.github/workflows/release-cli.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user