Skip to content

Commit 7702f85

Browse files
committed
GLSP-1637: Upgrade to node 22
Upgrade client part to node 22 Closes eclipse-glsp/glsp#1637
1 parent 3f763a5 commit 7702f85

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2121
with:
22-
node-version: 20.x
22+
node-version: 22.x
2323
- name: Build
2424
working-directory: ./client
2525
run: yarn install
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3838
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3939
with:
40-
node-version: 20.x
40+
node-version: 22.x
4141
- name: Install
4242
working-directory: ./client
4343
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6868
if: steps.check_changes.outputs.should_publish == 'true'
6969
with:
70-
node-version: 20.x
70+
node-version: 22.x
7171
registry-url: 'https://registry.npmjs.org'
7272

7373
- name: Build

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This repository is split into two main parts:
1111
- `server/releng/`: target platform, feature, and p2 repository modules.
1212

1313
## Build, Test, and Development Commands
14-
- `cd client && yarn install`: install workspace dependencies (Node `>=20`, Yarn 1.x).
14+
- `cd client && yarn install`: install workspace dependencies (Node `>=22`, Yarn 1.x).
1515
- `cd client && yarn build`: compile TS packages and bundle the workflow webapp.
1616
- `cd client && yarn lint`: run ESLint on all TS/TSX sources.
1717
- `cd client && yarn format:check`: verify Prettier formatting.

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Pod
44
spec:
55
containers:
66
- name: ci
7-
image: eclipseglsp/ci:alpine-v7.1
7+
image: eclipseglsp/ci:alpine-v8.0
88
resources:
99
limits:
1010
memory: "2Gi"

client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
},
3131
"devDependencies": {
3232
"@eclipse-glsp/dev": "next",
33-
"@types/node": "20.x",
33+
"@types/node": "22.x",
3434
"copyfiles": "^2.4.1",
3535
"lerna": "^9.0.0",
3636
"mocha-ctrf-json-reporter": "^0.0.9",
3737
"typescript": "^5.9.2"
3838
},
3939
"engines": {
40-
"node": ">=20",
40+
"node": ">=22",
4141
"yarn": ">=1.7.0 <2"
4242
}
4343
}

client/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,10 +1520,10 @@
15201520
dependencies:
15211521
undici-types "~5.26.4"
15221522

1523-
"@types/node@20.x":
1524-
version "20.19.11"
1525-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.11.tgz#728cab53092bd5f143beed7fbba7ba99de3c16c4"
1526-
integrity sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==
1523+
"@types/node@22.x":
1524+
version "22.19.19"
1525+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.19.tgz#3124bf26ded54168b768138321fef99b420c6112"
1526+
integrity sha512-dyh/xO2Fh5bYrfWaaqGrRQQGkNdmYw6AmaAUvYeUMNTWQtvb796ikLdmTchRmOlOiIJ1TDXfWgVx1QkUlQ6Hew==
15271527
dependencies:
15281528
undici-types "~6.21.0"
15291529

0 commit comments

Comments
 (0)