Skip to content

Commit b49d5fc

Browse files
committed
Update to node 24, drop support for node 18
1 parent 3f65b59 commit b49d5fc

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup node
3838
uses: actions/setup-node@v4
3939
with:
40-
node-version: 22
40+
node-version: 24
4141
cache: npm
4242

4343
- name: Install Node.js dependencies
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup node
7272
uses: actions/setup-node@v4
7373
with:
74-
node-version: 22
74+
node-version: 24
7575
cache: npm
7676
- name: Install dependencies
7777
run: npm ci
@@ -83,7 +83,7 @@ jobs:
8383
test -z "$(git status --porcelain)"
8484
8585
build:
86-
name: Build ${{ matrix.settings.target }} with node@22
86+
name: Build ${{ matrix.settings.target }} with node@24
8787
runs-on: ${{ matrix.settings.host }}
8888
strategy:
8989
fail-fast: false
@@ -120,7 +120,7 @@ jobs:
120120
uses: actions/setup-node@v4
121121
if: ${{ !matrix.settings.docker }}
122122
with:
123-
node-version: 22
123+
node-version: 24
124124
cache: npm
125125
- name: Install
126126
uses: dtolnay/rust-toolchain@stable
@@ -177,9 +177,9 @@ jobs:
177177
target: x86_64-apple-darwin
178178
architecture: x64
179179
node:
180-
- '18'
181180
- '20'
182181
- '22'
182+
- '24'
183183
runs-on: ${{ matrix.settings.host }}
184184
steps:
185185
- uses: actions/checkout@v4
@@ -210,9 +210,9 @@ jobs:
210210
fail-fast: false
211211
matrix:
212212
node:
213-
- '18'
214213
- '20'
215214
- '22'
215+
- '24'
216216
runs-on: ubuntu-latest
217217
steps:
218218
- uses: actions/checkout@v4
@@ -242,9 +242,9 @@ jobs:
242242
# fail-fast: false
243243
# matrix:
244244
# node:
245-
# - '18'
246245
# - '20'
247246
# - '22'
247+
# - '24'
248248
# runs-on: ubuntu-latest
249249
# steps:
250250
# - uses: actions/checkout@v4
@@ -275,9 +275,9 @@ jobs:
275275
fail-fast: false
276276
matrix:
277277
node:
278-
- '18'
279278
- '20'
280279
- '22'
280+
- '24'
281281
runs-on: ubuntu-latest
282282
steps:
283283
- uses: actions/checkout@v4
@@ -308,7 +308,7 @@ jobs:
308308
ls -la
309309
310310
test-linux-aarch64-musl-binding:
311-
name: Test aarch64-unknown-linux-musl with node@22
311+
name: Test aarch64-unknown-linux-musl with node@24
312312
needs:
313313
- build
314314
runs-on: ubuntu-latest
@@ -333,7 +333,7 @@ jobs:
333333
- name: Setup and run tests
334334
uses: addnab/docker-run-action@v3
335335
with:
336-
image: node:22-alpine
336+
image: node:24-alpine
337337
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
338338
run: |
339339
set -e
@@ -356,7 +356,7 @@ jobs:
356356
- name: Setup node
357357
uses: actions/setup-node@v4
358358
with:
359-
node-version: 22
359+
node-version: 24
360360
cache: npm
361361
- name: Install dependencies
362362
run: npm ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm i @alphahydrae/exec
4141

4242
## Support matrix
4343

44-
| OS & Architecture | Node.js 18 | Node.js 20 | Node.js 22 |
44+
| OS & Architecture | Node.js 20 | Node.js 22 | Node.js 24 |
4545
| :---------------- | :--------: | :--------: | :--------: |
4646
| macOS x64 ||||
4747
| macOS arm64 ||||

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"arm64"
2424
],
2525
"engines": {
26-
"node": "^18 || ^20 || ^22"
26+
"node": "^20 || ^22 || ^24"
2727
}
2828
}

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"x64"
2424
],
2525
"engines": {
26-
"node": "^18 || ^20 || ^22"
26+
"node": "^20 || ^22 || ^24"
2727
}
2828
}

npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"glibc"
2727
],
2828
"engines": {
29-
"node": "^18 || ^20 || ^22"
29+
"node": "^20 || ^22 || ^24"
3030
}
3131
}

npm/linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"musl"
2727
],
2828
"engines": {
29-
"node": "^18 || ^20 || ^22"
29+
"node": "^20 || ^22 || ^24"
3030
}
3131
}

npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"glibc"
2727
],
2828
"engines": {
29-
"node": "^18 || ^20 || ^22"
29+
"node": "^20 || ^22 || ^24"
3030
}
3131
}

npm/linux-x64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"musl"
2727
],
2828
"engines": {
29-
"node": "^18 || ^20 || ^22"
29+
"node": "^20 || ^22 || ^24"
3030
}
3131
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
"typescript": "^5.5.3"
6767
},
6868
"engines": {
69-
"node": "^18 || ^20 || ^22"
69+
"node": "^20 || ^22 || ^24"
7070
}
7171
}

0 commit comments

Comments
 (0)