From 84e7743429c8b9cde38011a510c64f09188cea5b Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 24 Nov 2025 10:23:32 +0100 Subject: [PATCH] fix(ci): use Node.js 20 for E2E tests to fix nyc compatibility The @cypress/code-coverage package bundles nyc@15 which is incompatible with Node.js 22+. Downgrade to Node.js 20 for E2E tests only to maintain coverage collection while other workflows use Node.js 22. --- .github/workflows/test-e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 00578ca..e65d652 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '20' cache: 'npm' cache-dependency-path: webapp/package-lock.json @@ -114,7 +114,7 @@ jobs: wait-on: 'http://localhost:8080/api/v1/health' wait-on-timeout: 60 browser: chrome - headless: true + headed: false env: CYPRESS_baseUrl: http://localhost:8080 CYPRESS_mailhogUrl: http://localhost:8025