forked from cartsnitch/app
fix: add sleep before wait-on to ensure preview server is ready [CAR-937]
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -88,6 +88,7 @@ jobs:
|
|||||||
- name: Start preview server
|
- name: Start preview server
|
||||||
run: |
|
run: |
|
||||||
npm run preview &
|
npm run preview &
|
||||||
|
sleep 5
|
||||||
npx wait-on http://localhost:4173/ --timeout 30000
|
npx wait-on http://localhost:4173/ --timeout 30000
|
||||||
- name: Run Lighthouse CI
|
- name: Run Lighthouse CI
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user