From 696f292d10f9b84be8936cc7e96210fed3485e91 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 12 Jun 2026 05:04:52 +0000 Subject: [PATCH] ci: test across Node 18, 20, and 22 matrix The package declares engines >= 18 but CI only validated Node 20. Node 18 is still in maintenance LTS and Node 22 is the current LTS, so regressions on those versions would have gone undetected. https://claude.ai/code/session_01LCsREUiKF2K3rvpJyih1h4 --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afbe07c..8b7b72d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,11 +7,15 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + node-version: ['18', '20', '22'] + name: Node ${{ matrix.node-version }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm install --include=dev - run: npm run typecheck