Skip to content

Commit f86e1ef

Browse files
authored
Merge pull request #162 from openzim/kelson42-patch-1
Increment Node.js supported versions (-18.x +24.x)
2 parents 789030a + 332fc7b commit f86e1ef

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15-
- name: Use Node.js 18.x
15+
- name: Use Node.js 20.x
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: "18.x"
18+
node-version: "20.x"
1919
registry-url: "https://registry.npmjs.org"
2020

2121
- run: npm ci

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, macos-15]
18-
node: [18, 20, 22]
18+
node: [20, 22, 24]
1919
runs-on: ${{ matrix.os }}
2020

2121
steps:

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
"bugs": {
3939
"url": "https://github.com/openzim/node-libzim/issues"
4040
},
41+
"engines": {
42+
"node": ">=20 <25"
43+
},
4144
"homepage": "https://github.com/openzim/node-libzim#readme",
4245
"gypfile": true,
4346
"dependencies": {

0 commit comments

Comments
 (0)