Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,18 @@ jobs:
- standard
- experimental
node-version:
- 20.x
- 22.x
- 24.x
- 25.x
- 26.x
architecture: [x64, x86]
os:
- windows-2022
- windows-2025
exclude:
# Skip when node 24.x or 25.x AND architecture is x86 since there is
# no published Node.js x86 build for those versions.
# Skip Node.js 24.x and 26.x on x86 since there are no published
# Node.js x86 builds for those versions.
- node-version: 24.x
architecture: x86
- node-version: 25.x
architecture: x86
- node-version: 26.x
architecture: x86
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ jobs:
- standard
- experimental
node-version:
- 20.x
- 22.x
- 24.x
- 25.x
- 26.x
os:
- macos-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

- name: Use Node.js v18.x
- name: Use Node.js v22.x
if: matrix.language == 'cpp'
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 18.x
node-version: 22.x

- name: Build cpp
if: matrix.language == 'cpp'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This allows addons built with it to run with Node.js versions which support the
**However** the node-addon-api support model is to support only the active LTS Node.js versions. This means that
every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.

The oldest Node.js version supported by the current version of node-addon-api is Node.js 18.x.
The oldest Node.js version supported by the current version of node-addon-api is Node.js 22.x.

## Badges

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,6 @@
"version": "8.9.2",
"support": true,
"engines": {
"node": "^18 || ^20 || >= 21"
"node": "^22 || ^24 || >= 26"
}
}
Loading