From e6247d65c705b596084a9676b9cd3a524b995fbc Mon Sep 17 00:00:00 2001 From: Alex Smolya Date: Thu, 3 Sep 2026 11:16:18 +0200 Subject: [PATCH] ci: test supported Node versions --- .github/workflows/ci.yml | 5 ++++- README.md | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index baed75c..27a3d23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,14 @@ on: jobs: verify: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20, 24] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ matrix.node-version }} cache: npm - run: npm install - run: npm run verify diff --git a/README.md b/README.md index 03a3ce1..8eb6fdc 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,9 @@ console.log(result.output); - `npm run test` runs Vitest with coverage - `npm run verify` runs formatting, linting, typecheck, and tests +CI runs `npm run verify` on Node.js 20, the minimum supported by `engines`, and +Node.js 24, the current active LTS line. + ## Contributor Guidance Good first contributions should add depth without collapsing extension points.