File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed
Expand file tree Collapse file tree 1 file changed +24
-5
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 : Cypress run
56- uses : cypress-io/github-action@v6
55+ - name : Start dev server
56+ run : pnpm dev &
57+
58+ - name : Wait for server
59+ run : npx wait-on http://localhost:5173
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
5777 with :
58- start : pnpm cy:run
59- component : true
60- browser : chrome
78+ name : cypress-screenshots
79+ path : cypress/screenshots
You can’t perform that action at this time.
0 commit comments