File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ jobs:
52
52
- name : Clear Vite cache
53
53
run : rm -rf node_modules/.vite
54
54
55
- - name : Start dev server
56
- run : pnpm dev &
55
+ - name : Start preview server
56
+ run : pnpm preview &
57
57
58
58
- name : Wait for server
59
- run : npx wait-on http://localhost:5173
59
+ run : npx wait-on http://localhost:4173
60
60
61
61
- name : Run E2E tests
62
62
run : pnpm cy:run:e2e
Original file line number Diff line number Diff line change 23
23
"test:dev" : " vitest" ,
24
24
"test:all" : " vitest --run" ,
25
25
"test:build" : " vitest --run --bail 1" ,
26
+ "preview" : " vite preview --port 4173" ,
26
27
"cy:run" : " npx cypress run --e2e && npx cypress run --component --headless" ,
27
28
"cy:run:e2e" : " npx cypress run --headless --browser electron" ,
28
29
"cy:run:component" : " npx cypress run --headless --component electron" ,
You can’t perform that action at this time.
0 commit comments