From cb2e78bd90976c3d4d49cd869a646ffe80258bba Mon Sep 17 00:00:00 2001 From: Piotr Jurczynski <619650+pjurczynski@users.noreply.github.com> Date: Thu, 10 Jul 2025 00:29:38 +0200 Subject: [PATCH] Remove Node.js 18.x support as it reached EOL and add Node.js 22.x LTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js 18.x has reached End of Life (EOL) and is no longer supported. For production applications, we should use currently supported LTS releases. Changes: - Remove Node.js 18.x from CI matrix (no longer supported) - Add Node.js 22.x (current Active LTS) to CI matrix - Update package.json engines requirement from >=18.0.0 to >=20.0.0 - Now testing on Node.js 20.x (Maintenance LTS) and 22.x (Active LTS) Node.js 22.x provides Active LTS support until late 2025 and maintenance support until April 2027, making it the recommended choice for long-term production use. Resolves #34 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37919f4..eb7efff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index bc5b902..f0bf414 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ }, "homepage": "https://github.com/devill/refakts#readme", "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "files": [ "dist/**/*",