From 6ec53a50e7df2dd989addd13e1fb9f00ea66c31b Mon Sep 17 00:00:00 2001 From: kahirokunn Date: Mon, 17 Aug 2026 22:38:12 +0900 Subject: [PATCH] feat!: remove Node.js 20 support Signed-off-by: kahirokunn --- .github/workflows/nodejs-ci-action.yml | 2 +- README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs-ci-action.yml b/.github/workflows/nodejs-ci-action.yml index 0b1bbddd..4adff11f 100644 --- a/.github/workflows/nodejs-ci-action.yml +++ b/.github/workflows/nodejs-ci-action.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x, 22.x, 24.x] + node-version: [22.x, 24.x] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index b40b8de3..a2353198 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ _Note:_ Supports CloudEvent version 1.0 ## Installation The CloudEvents SDK requires a current LTS version of Node.js. At the moment -those are Node.js 16.x, and Node.js 18.x. To install in your Node.js project: +those are Node.js 22.x, and Node.js 24.x. To install in your Node.js project: ```console npm install cloudevents diff --git a/package-lock.json b/package-lock.json index bbffeea7..b7fad6bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "webpack-cli": "^4.10.0" }, "engines": { - "node": ">=20 <=24" + "node": ">=22 <=24" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 214d34a5..a6b3c54f 100644 --- a/package.json +++ b/package.json @@ -160,6 +160,6 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": ">=20 <=24" + "node": ">=22 <=24" } }