Skip to content

Commit 30daf6d

Browse files
Merge pull request #1253 from rocketstack-matt/node-upgrade
Upgrade Node.js to v22.15.0 and npm to 11.3.0 across all packages
2 parents 55f588b + 0b0c7b7 commit 30daf6d

13 files changed

+14
-14
lines changed

.github/workflows/build-calm-hub-ui.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/build-cli.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/build-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424
cache: npm
2525
cache-dependency-path: package-lock.json
2626

.github/workflows/build-shared.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/cve-scanning-node.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Node
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: 20
34+
node-version: 22
3535
- name: Build project with NPM
3636
run: npm install --omit=dev
3737
working-directory: ${{ matrix.module-folder }}

.github/workflows/license-scanning-node.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: ['20.x']
17+
node-version: ['22.x']
1818
module-folder: ['cli', 'docs', 'shared']
1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/publish-cli-to-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: v20
20+
node-version: v22
2121
registry-url: "https://registry.npmjs.org"
2222

2323
# Install the workspace

.github/workflows/s3-docs-sync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18
22+
node-version: 22
2323
cache: npm
2424
cache-dependency-path: package-lock.json
2525
- name: Install dependencies

.github/workflows/validate-spectral.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Run Spectral
3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: v20
32+
node-version: v22
3333

3434
- name: Install workspace
3535
run: npm ci

calm-hub-ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@tailwindcss/vite": "^4.1.4",
18-
"@types/node": "^22.9.0",
18+
"@types/node": "^22.15.0",
1919
"@types/react": "^18.3.12",
2020
"@types/react-dom": "^18.3.1",
2121
"@vitejs/plugin-react-swc": "^3.7.2",

calm-hub/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@
154154
<goal>install-node-and-npm</goal>
155155
</goals>
156156
<configuration>
157-
<nodeVersion>v18.18.0</nodeVersion>
158-
<npmVersion>9.8.1</npmVersion>
157+
<nodeVersion>v22.15.0</nodeVersion>
158+
<npmVersion>11.3.0</npmVersion>
159159
</configuration>
160160
</execution>
161161
<execution>

cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@types/json-pointer": "^1.0.34",
4242
"@types/junit-report-builder": "^3.0.2",
4343
"@types/lodash": "^4.17.16",
44-
"@types/node": "^22.14.0",
44+
"@types/node": "^22.15.0",
4545
"@types/supertest": "^6.0.3",
4646
"@types/xml2js": "^0.4.14",
4747
"@typescript-eslint/eslint-plugin": "^8.29.1",

shared/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/json-pointer": "^1.0.34",
5555
"@types/junit-report-builder": "^3.0.2",
5656
"@types/lodash": "^4.17.16",
57-
"@types/node": "^22.14.0",
57+
"@types/node": "^22.15.0",
5858
"@typescript-eslint/eslint-plugin": "^8.29.1",
5959
"@typescript-eslint/parser": "^8.29.1",
6060
"eslint": "^9.24.0",

0 commit comments

Comments
 (0)