Open
Description
Context
Node.js v20 reaches EOL on April 30, 2026. Additionally, Node-API version 10 is not fully supported on v20 — the NAPI_PREAMBLE macro only returns napi_cannot_run_js for NAPI_VERSION_EXPERIMENTAL, not for version 10+. This was fixed in nodejs/node#55676 ("node-api: define version 10"), which landed in v22.14.0+ but was never backported to v20.
This causes test_cannot_run_js (and potentially other tests targeting Node-API v10) to crash with SIGSEGV on v20, as seen in #28.
Proposal
Remove 20.x from the CI test matrix in .github/workflows/test.yml, along with the Node 20-specific amaro/TypeScript stripping workaround.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
bavulapati commentedon Apr 3, 2026
It is better to pick this at the end of the migration and take a call then.