Skip to content

Commit 0df7ff6

Browse files
committed
Update to latest Nodejs LTS and NPM
This bumps to the latest Node LTS version with 22 and to NPM 11. Also bumps Vite to the latest as well to address a Dependanbot alert. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
1 parent d1aa2f4 commit 0df7ff6

File tree

11 files changed

+4605
-3691
lines changed

11 files changed

+4605
-3691
lines changed

.github/workflows/check_make_vtadmin_web_proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
6262
with:
6363
# node-version should match package.json
64-
node-version: '20.12.2'
64+
node-version: '22.13.1'
6565

6666
- name: Install npm dependencies
6767
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'

.github/workflows/static_checks_etc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
231231
with:
232232
# make proto requires newer node than the pre-installed one
233-
node-version: '20.12.2'
233+
node-version: '22.13.1'
234234

235235
- name: check_make_proto
236236
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'

.github/workflows/vtadmin_web_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: steps.skip-workflow.outputs.skip-workflow == 'false'
4545
with:
4646
# node-version should match package.json
47-
node-version: '20.12.2'
47+
node-version: '22.13.1'
4848

4949
- name: Install dependencies
5050
if: steps.skip-workflow.outputs.skip-workflow == 'false'

.github/workflows/vtadmin_web_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: steps.skip-workflow.outputs.skip-workflow == 'false'
4545
with:
4646
# node-version should match package.json
47-
node-version: '20.12.2'
47+
node-version: '22.13.1'
4848

4949
- name: Install dependencies
5050
if: steps.skip-workflow.outputs.skip-workflow == 'false'

.github/workflows/vtadmin_web_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: steps.skip-workflow.outputs.skip-workflow == 'false'
4545
with:
4646
# node-version should match package.json
47-
node-version: '20.12.2'
47+
node-version: '22.13.1'
4848

4949
- name: Install dependencies
5050
if: steps.skip-workflow.outputs.skip-workflow == 'false'

web/vtadmin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Prerequisites
44

5-
- [node](https://nodejs.org) >= 20.12.0 LTS
6-
- npm >= 10.5.0 (comes with node)
5+
- [node](https://nodejs.org) >= 22.13.1 LTS
6+
- npm >= 10.9.2 (comes with node)
77

88
## Available scripts
99

web/vtadmin/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ -z ${NVM_DIR} ]]; then
4040
fi
4141

4242
if [[ -z ${NODE_VERSION} ]]; then
43-
export NODE_VERSION="20.12.2"
43+
export NODE_VERSION="22.13.1"
4444
fi
4545

4646
output "\nInstalling nvm...\n"

0 commit comments

Comments
 (0)