From 3bdbc7cdd193cc4a62cfc79ac24f5bcfd807056e Mon Sep 17 00:00:00 2001 From: logfox-agent Date: Mon, 15 Jun 2026 17:33:32 -0400 Subject: [PATCH] chore: CLI engines >=20 <25 and CI matrix on 20/22/24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Public npm package supports Node 20–24; dev and release stay on 24. --- .github/workflows/ci.yml | 6 +++++- package.json | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15e1a8e..14fcbca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,15 @@ concurrency: jobs: ci: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [20, 22, 24] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 24 + node-version: ${{ matrix.node-version }} cache: 'npm' registry-url: 'https://npm.pkg.github.com' scope: '@logfoxai' diff --git a/package.json b/package.json index c31325d..92aaa41 100644 --- a/package.json +++ b/package.json @@ -36,5 +36,8 @@ "@inquirer/prompts": "8.3.0", "commander": "12.1.0", "open": "10.1.0" + }, + "engines": { + "node": ">=20.0.0 <25.0.0" } }