fix(ci): adjust GeoIP database download and Playwright dependencies for CI stability
This commit is contained in:
18
.github/workflows/e2e-tests-split.yml
vendored
18
.github/workflows/e2e-tests-split.yml
vendored
@@ -52,7 +52,7 @@ env:
|
||||
|
||||
concurrency:
|
||||
group: e2e-split-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: false
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
# Build application once, share across all browser jobs
|
||||
@@ -365,6 +365,14 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright Chromium
|
||||
run: |
|
||||
echo "📦 Installing Chromium (required by security-tests dependency)..."
|
||||
npx playwright install --with-deps chromium
|
||||
EXIT_CODE=$?
|
||||
echo "✅ Install command completed (exit code: $EXIT_CODE)"
|
||||
exit $EXIT_CODE
|
||||
|
||||
- name: Install Playwright Firefox
|
||||
run: |
|
||||
echo "📦 Installing Firefox..."
|
||||
@@ -530,6 +538,14 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright Chromium
|
||||
run: |
|
||||
echo "📦 Installing Chromium (required by security-tests dependency)..."
|
||||
npx playwright install --with-deps chromium
|
||||
EXIT_CODE=$?
|
||||
echo "✅ Install command completed (exit code: $EXIT_CODE)"
|
||||
exit $EXIT_CODE
|
||||
|
||||
- name: Install Playwright WebKit
|
||||
run: |
|
||||
echo "📦 Installing WebKit..."
|
||||
|
||||
Reference in New Issue
Block a user