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:
7
.github/workflows/publish-cli.yml
vendored
7
.github/workflows/publish-cli.yml
vendored
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user