Drop Node.js v20 from CI matrix
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- github-actions, node.js, typescript
- Domain
- ci-cd
Research direction
Inspect .github/workflows/test.yml, starting with the CI test matrix and the Node 20-specific amaro/TypeScript stripping workaround. Remove the 20.x entry and that workaround; done when the workflow targets the remaining Node.js versions without the v20-specific handling.
Written by the indexing model from the issue text.
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.
- Dominant language
- C
- Stars
- 18
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/node-api-cts
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
nodejs/node-api-cts#85 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
nodejs/node-api-cts#84 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
nodejs/node-api-cts#61 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
nodejs/node-api-cts#35 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
nodejs/node-api-cts#34 ·
All issues in nodejs/node-api-cts
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
kovidgoyal/kitty#10516 ·
-
libc
Difficulty 2/5 1-2 days Newbie friendliness 76/100
llvm/llvm-project#225506 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Status: Waiting triage Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nanoframework/Home#1857 ·
-
bug
Difficulty 2/5 Half a day Newbie friendliness 82/100