File tree Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 5252 - name : Clear Vite cache
5353 run : rm -rf node_modules/.vite
5454
55- - name : Start preview server
56- run : pnpm preview &
57-
58- - name : Wait for server
59- run : npx wait-on http://localhost:4173
60-
61- - name : Run E2E tests
62- run : pnpm cy:run:e2e
63-
64- - name : Run Component tests
65- run : pnpm cy:run:component
66-
67- - name : Upload Cypress videos
68- if : always()
69- uses : actions/upload-artifact@v4
70- with :
71- name : cypress-videos
72- path : cypress/videos
73-
74- - name : Upload Cypress screenshots
75- if : always()
76- uses : actions/upload-artifact@v4
55+ - name : Cypress run
56+ uses : cypress-io/github-action@v6
7757 with :
78- name : cypress-screenshots
79- path : cypress/screenshots
58+ start : pnpm cy:run
59+ component : true
60+ browser : chrome
Original file line number Diff line number Diff line change 2323 "test:dev" : " vitest" ,
2424 "test:all" : " vitest --run" ,
2525 "test:build" : " vitest --run --bail 1" ,
26- "preview" : " vite preview --port 4173" ,
2726 "cy:run" : " npx cypress run --e2e && npx cypress run --component --headless" ,
2827 "cy:run:e2e" : " npx cypress run --headless --browser electron" ,
2928 "cy:run:component" : " npx cypress run --headless --component electron" ,
You can’t perform that action at this time.
0 commit comments