Skip to content

ci: run on Node.js 24.22.1 and 22.23.4 instead of end-of-life Node.js 20 - #29

Merged
Affan Dar (affandar) merged 1 commit into
mainfrom
fix/ci-node-security-20261021
Oct 22, 2026
Merged

Affan Dar (affandar) merged 1 commit into
mainfrom
fix/ci-node-security-20261021

Conversation

@affandar

@affandar Affan Dar (affandar) commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Node.js 20 is end-of-life. It gets no fix for the October 2026 Node.js security release. CI used Node.js 20 in every job: the latest run downloaded 20.20.2.

Change

.github/workflows/build.yml:

Jobs Before After
build, test, pack 20 24.22.1
smoke-local (5 platforms) 20 22.23.4

24.22.1 and 22.23.4 are the patched releases. 22.23.4 is the oldest Node.js line that still gets security fixes, so the smoke tests still test the oldest supported line. CHANGELOG.md gets an Unreleased entry.

No package change and no release needed. The addon uses N-API, and none of these CVEs touch N-API. engines still says ">= 18"; raising it is a separate decision.

Tested

Locally on darwin-arm64, with the official Node.js builds (checksums verified):

Check 24.22.1 22.23.4
npm run test:all 163/163 163/163
ci/smoke/run-local.sh on packed 0.2.2 tarballs pass pass

This PR's CI run covers the other platforms.

Node.js 20 is end-of-life and gets no fix for the October 2026 security
release. Build, test and pack now use 24.22.1. The platform smoke tests use
22.23.4, the oldest Node.js line that still gets security fixes.

No package change. The addon uses N-API, and none of these CVEs touch
N-API. engines still says ">= 18".
@affandar
Affan Dar (affandar) merged commit 17126c3 into main Oct 22, 2026
6 checks passed
@affandar Affan Dar (affandar) changed the title ci: run on Node.js 24.22.1 and 22.23.4 instead of end-of-life Node.js 20 ci: run on patched Node.js 24.22.1 and 22.23.4; prepare 0.2.3 release Oct 22, 2026
@affandar Affan Dar (affandar) changed the title ci: run on patched Node.js 24.22.1 and 22.23.4; prepare 0.2.3 release ci: run on Node.js 24.22.1 and 22.23.4 instead of end-of-life Node.js 20 Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant