From 07c31396f22e401c458bf1955636c4b7ed107928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Palancher?= Date: Fri, 13 Nov 2026 13:44:01 +0100 Subject: [PATCH] ci: test frontend on multiple Node.js versions Run frontend unit tests on Node.js 20, 22, 24 and 26 instead of only the latest LTS. Assisted-by: Claude Opus 5.5 --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797cb044..c26ac9f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,14 +41,18 @@ jobs: run: pytest frontend_tests: - name: Frontend unit tests + name: Frontend unit tests (Node ${{ matrix.node-version }}) + strategy: + fail-fast: false + matrix: + node-version: ["20", "22", "24", "26"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Node uses: actions/setup-node@v4 with: - node-version: lts/* + node-version: ${{ matrix.node-version }} cache: npm cache-dependency-path: frontend/package-lock.json