From b3f221dd056da06b5256b5f539b8db04aae39786 Mon Sep 17 00:00:00 2001 From: lxcario Date: Wed, 24 Jun 2026 23:29:33 +0300 Subject: [PATCH] ci: add Node 20 to test and build matrix --- .github/workflows/ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 660df82..3b93a8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,15 +43,18 @@ jobs: - run: npm run typecheck test: - name: Unit Tests + name: Unit Tests (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20, 22] steps: - uses: actions/checkout@v5 - name: Setup Node.js uses: actions/setup-node@v5 with: - node-version: 22 + node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci @@ -60,15 +63,18 @@ jobs: CI: true build: - name: Build + name: Build (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20, 22] steps: - uses: actions/checkout@v5 - name: Setup Node.js uses: actions/setup-node@v5 with: - node-version: 22 + node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci