Skip to content

Commit cdb85f9

Browse files
committed
Drop node 18; Support node 24
1 parent 325b6e9 commit cdb85f9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node-version: [22.x]
16+
node-version: [24.x]
1717
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022, macos-14]
1818
steps:
1919
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
node-version: [22.x]
12+
node-version: [24.x]
1313
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022]
14-
target: ["18.0.0", "20.0.0", "22.0.0"]
14+
target: ["20.0.0", "22.0.0", "24.0.0"]
1515
runs-on: ${{ matrix.os }}
1616
permissions:
1717
id-token: write
@@ -57,7 +57,7 @@ jobs:
5757
- uses: actions/checkout@v4
5858
- uses: actions/setup-node@v4
5959
with:
60-
node-version: '22.x'
60+
node-version: '24.x'
6161
registry-url: 'https://registry.npmjs.org'
6262
cache: 'npm'
6363
- run: npm publish --provenance --access public

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ npm install gl
4343

4444
And you are good to go!
4545

46-
Prebuilt binaries are generally available for LTS node versions (e.g. 18, 20, 22) until they reach EOL. If your system is not supported, then please see the [development](#system-dependencies) section on how to configure your build environment. Patches to improve support are always welcome!
46+
Prebuilt binaries are generally available for LTS node versions (e.g. 20, 22, 24) until they reach EOL. If your system is not supported, then please see the [development](#system-dependencies) section on how to configure your build environment. Patches to improve support are always welcome!
4747

4848
## Supported platforms and Node.js versions
4949

5050
gl runs on Linux, macOS, and Windows.
5151

52-
Node.js versions 18 and up are supported.
52+
Node.js versions 20 and up are tested and supported. Earlier versions may still function, however.
5353

5454
## API
5555

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test": "test"
99
},
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">=20.0.0"
1212
},
1313
"scripts": {
1414
"test": "standard | snazzy && tape test/*.js | faucet",

0 commit comments

Comments
 (0)