Skip to content

Commit ff195a0

Browse files
authored
Support Node.js 25 (#1093)
* support node 25 * use updated images * use node 22 image for nodejs 25
1 parent e5870b1 commit ff195a0

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
matrix:
1717
container: ['node:18.0.0']
1818
node_api_target: ['18.0.0', '20.0.0', '21.2.0', '22.0.0', '23.0.0', '24.0.0']
19+
include:
20+
- container: 'node:22.0.0'
21+
node_api_target: '25.2.0'
1922
container: ${{ matrix.container }}
2023
steps:
2124
- name: Checkout
@@ -38,6 +41,9 @@ jobs:
3841
matrix:
3942
container: ['node:18.0.0']
4043
node_api_target: ['18.0.0', '20.0.0', '21.2.0', '22.0.0', '23.0.0', '24.0.0']
44+
include:
45+
- container: 'node:22.0.0'
46+
node_api_target: '25.2.0'
4147
container: ${{ matrix.container }}
4248
steps:
4349
- name: Checkout
@@ -64,6 +70,9 @@ jobs:
6470
python_version: '3.11'
6571
- os: macos-15
6672
python_version: '3.11'
73+
- os: 'macos-15'
74+
python_version: '3.11'
75+
node_api_target: '25.2.0'
6776
runs-on: ${{ matrix.os }}
6877
steps:
6978
- name: Checkout
@@ -159,7 +168,7 @@ jobs:
159168
fail-fast: false
160169
matrix:
161170
os: ['ubuntu-latest', 'macos-latest']
162-
nodejs: ['18', '20', '21', '22', '23', '24']
171+
nodejs: ['18', '20', '21', '22', '23', '24', '25']
163172
include:
164173
- os: 'macos-latest'
165174
python_version: '3.11'
@@ -175,6 +184,8 @@ jobs:
175184
nodejs: '23.0.0'
176185
- os: 'windows-2022'
177186
nodejs: '24.0.0'
187+
- os: 'windows-2022'
188+
nodejs: '25.2.0'
178189
services:
179190
neo4j:
180191
image: ${{ (matrix.os == 'ubuntu-latest') && 'neo4j:4.4.42' || '' }}
@@ -209,7 +220,7 @@ jobs:
209220
fail-fast: false
210221
matrix:
211222
os: ['ubuntu-24.04-arm']
212-
nodejs: ['18', '20', '21', '22', '23', '24']
223+
nodejs: ['18', '20', '21', '22', '23', '24', '25']
213224
container: node:${{ matrix.nodejs }}
214225
steps:
215226
- name: Checkout
@@ -228,7 +239,7 @@ jobs:
228239
fail-fast: false
229240
matrix:
230241
os: ['ubuntu-latest', 'macos-latest']
231-
nodejs: ['18', '20', '21', '22', '23', '24']
242+
nodejs: ['18', '20', '21', '22', '23', '24', '25']
232243
include:
233244
- os: 'macos-latest'
234245
python_version: '3.11'
@@ -244,6 +255,8 @@ jobs:
244255
nodejs: '23.0.0'
245256
- os: 'windows-2022'
246257
nodejs: '24.0.0'
258+
- os: 'windows-2022'
259+
nodejs: '25.2.0'
247260
steps:
248261
- name: Checkout
249262
uses: actions/checkout@v3

scripts/prebuild-os.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if (targets.length == 0) {
1111
'22.0.0',
1212
'23.0.0',
1313
'24.0.0',
14+
'25.2.0',
1415
];
1516
}
1617

0 commit comments

Comments
 (0)