Skip to content

Commit 0857062

Browse files
committed
fix: increase minimum node version to 12
1 parent 5e31d59 commit 0857062

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ jobs:
132132
if: ${{ matrix.native }}
133133
run: pnpm run build.js
134134

135-
- name: Install Node 10
135+
- name: Install Node 12
136136
if: ${{ matrix.native && matrix.os != 'macos-14' }}
137137
uses: actions/setup-node@v4
138138
with:
139-
node-version: 10
139+
node-version: 12
140140
architecture: ${{ env.setup_node_arch }}
141141

142142
- name: Build Native
@@ -292,7 +292,7 @@ jobs:
292292
- windows-2022
293293
- macos-13
294294
node-version:
295-
- 10
295+
- 12
296296
- 22
297297

298298
include:
@@ -305,7 +305,7 @@ jobs:
305305
node-version: ${{ matrix.node-version }}
306306

307307
- name: Install Yarn 1
308-
if: matrix.node-version == 10
308+
if: matrix.node-version == 12
309309
run: |
310310
npm i -g yarn@^1
311311
@@ -315,7 +315,7 @@ jobs:
315315
npm i -g yarn@latest
316316
317317
- name: Install Pnpm 5
318-
if: matrix.node-version == 10
318+
if: matrix.node-version == 12
319319
uses: pnpm/action-setup@v4
320320
with:
321321
version: 5

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ npm install zeromq
6767

6868
Supported versions:
6969

70-
- Node.js v10+ (requires a [N-API](https://nodejs.org/api/n-api.html))
70+
- Node.js v12+ (requires a [N-API](https://nodejs.org/api/n-api.html))
7171

7272
## Examples
7373

@@ -326,7 +326,7 @@ during build, you can build this package from source.
326326
Make sure you have the following installed before attempting to build from
327327
source:
328328

329-
- Node.js 10+ or Electron
329+
- Node.js 12+ or Electron
330330
- C++17 compiler toolchain (e.g. LLVM, GCC, MSVC)
331331
- Python 3
332332
- CMake 3.16+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"which": "^5.0.0"
6868
},
6969
"engines": {
70-
"node": ">= 10",
70+
"node": ">= 12",
7171
"pnpm": ">= 9"
7272
},
7373
"overrides": {

0 commit comments

Comments
 (0)