forked from cartsnitch/app
fix: increase timeout for preview server in lighthouse CI [CAR-937]
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -87,9 +87,9 @@ jobs:
|
||||
npx playwright install --with-deps chromium
|
||||
- name: Start preview server
|
||||
run: |
|
||||
npm run preview &
|
||||
sleep 5
|
||||
npx wait-on http://localhost:4173/ --timeout 30000
|
||||
npm run preview -- --port 4173 &
|
||||
sleep 10
|
||||
npx wait-on http://localhost:4173/ --timeout 60000
|
||||
- name: Run Lighthouse CI
|
||||
run: |
|
||||
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)
|
||||
|
||||
Reference in New Issue
Block a user