1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

BRE-1220 - Update Publish CLI workflow (#16912)

This commit is contained in:
Vince Grassia
2025-10-17 11:35:57 -04:00
committed by GitHub
parent 91a661a025
commit d65824e624
2 changed files with 7 additions and 2 deletions

View File

@@ -199,6 +199,7 @@ jobs:
- name: Get Node version
id: retrieve-node-version
working-directory: ./
run: |
NODE_NVMRC=$(cat .nvmrc)
NODE_VERSION=${NODE_NVMRC/v/''}
@@ -208,9 +209,13 @@ jobs:
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ steps.retrieve-node-version.outputs.node_version }}
npm-version: "11.5.1" # FIXME: npm 11.5.1 or later is required to publish w/ OIDC; move version management to somewhere maintainable by automation
registry-url: "https://registry.npmjs.org/"
- name: Install NPM
run: |
npm install -g npm@latest # npm 11.5.1 or later is required to publish w/ OIDC
npm --version
- name: Download and set up artifact
run: |
mkdir -p build

View File

@@ -13,7 +13,7 @@
"homepage": "https://bitwarden.com",
"repository": {
"type": "git",
"url": "https://github.com/bitwarden/clients"
"url": "git+https://github.com/bitwarden/clients.git"
},
"license": "SEE LICENSE IN LICENSE.txt",
"scripts": {