mirror of
https://github.com/btouchard/ackify.git
synced 2026-02-09 15:28:28 -06:00
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.
This commit is contained in:
4
.github/workflows/test-e2e.yml
vendored
4
.github/workflows/test-e2e.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user