Skip to content

Commit fb776fb

Browse files
zeevdrclaude
andauthored
chore: drop Node 20 support (EOL April 2026) (#97)
Node 20 reached end-of-life in April 2026. Bump the engines field to >=22 and remove Node 20 from the CI test matrix. Closes #65 Co-authored-by: Claude <noreply@anthropic.com>
1 parent abbe9a5 commit fb776fb

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CI pipeline for the OpenDecree TypeScript SDK.
22
#
3-
# Jobs: lint, typecheck, test (matrix: Node 20/22/24), examples, integration → check (alls-green gate)
3+
# Jobs: lint, typecheck, test (matrix: Node 22/24), examples, integration → check (alls-green gate)
44
# The check job aggregates all results for branch protection.
55
#
66
# The first job defines YAML anchors (&checkout, &setup-node-22, &install)
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
fail-fast: false
6161
matrix:
62-
node-version: ["20", "22", "24"]
62+
node-version: ["22", "24"]
6363
steps:
6464
- *checkout
6565
- name: Set up Node.js ${{ matrix.node-version }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ TypeScript SDK for [OpenDecree](https://github.com/opendecree/decree) -- schema-
1414
1515
## Requirements
1616

17-
- Node.js **20** (ESM-only package — CommonJS is not supported)
17+
- Node.js **22** (ESM-only package — CommonJS is not supported)
1818

1919
## Install
2020

@@ -105,7 +105,7 @@ Runnable examples in the [`examples/`](examples/) directory:
105105

106106
## Requirements
107107

108-
- Node.js 20+
108+
- Node.js 22+
109109
- A running OpenDecree server (v0.8.0 – v0.x, pre-1.0)
110110

111111
## Questions?

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"url": "https://github.com/opendecree/decree-typescript/issues"
5454
},
5555
"engines": {
56-
"node": ">=20"
56+
"node": ">=22"
5757
},
5858
"dependencies": {
5959
"@grpc/grpc-js": "^1.12.0"

0 commit comments

Comments
 (0)