mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-22343] Bump non-cli to Node 22 (#15058)
* Bump non-cli to Node 22 * Fix working-directory * Lets see what breaks * Maybe this works
This commit is contained in:
1
.github/workflows/build-cli.yml
vendored
1
.github/workflows/build-cli.yml
vendored
@@ -71,7 +71,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Get Node Version
|
- name: Get Node Version
|
||||||
id: retrieve-node-version
|
id: retrieve-node-version
|
||||||
working-directory: ./
|
|
||||||
run: |
|
run: |
|
||||||
NODE_NVMRC=$(cat .nvmrc)
|
NODE_NVMRC=$(cat .nvmrc)
|
||||||
NODE_VERSION=${NODE_NVMRC/v/''}
|
NODE_VERSION=${NODE_NVMRC/v/''}
|
||||||
|
|||||||
1
apps/cli/.nvmrc
Normal file
1
apps/cli/.nvmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
v20
|
||||||
@@ -92,5 +92,9 @@
|
|||||||
"semver": "7.7.2",
|
"semver": "7.7.2",
|
||||||
"tldts": "7.0.1",
|
"tldts": "7.0.1",
|
||||||
"zxcvbn": "4.4.2"
|
"zxcvbn": "4.4.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "~20",
|
||||||
|
"npm": "~10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -231,7 +231,7 @@
|
|||||||
"*.ts": "eslint --cache --cache-strategy content --fix"
|
"*.ts": "eslint --cache --cache-strategy content --fix"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "~20",
|
"node": "~22",
|
||||||
"npm": "~10"
|
"npm": "~10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user