File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,14 @@ jobs:
23
23
uses : cypress-io/github-action@v6
24
24
with :
25
25
start : npm start
26
- # after the test run completes store videos and any screenshots
27
- - uses : actions/upload-artifact@v4
28
- # add the line below to store screenshots only on failures
26
+ wait-on : ' http://localhost:3000 '
27
+ - name : Upload failure screenshots
28
+ uses : actions/upload-artifact@v4
29
29
if : failure()
30
30
with :
31
31
name : cypress-screenshots
32
32
path : cypress/screenshots
33
- if-no-files-found : ignore # 'warn' or 'error' are also available, defaults to `warn`
34
- - uses : actions/upload-artifact@v4
35
- with :
36
- name : cypress-videos
37
- path : cypress/videos
38
- if-no-files-found : ignore # 'warn' or 'error' are also available, defaults to `warn`
33
+ if-no-files-found : ignore
39
34
ci :
40
35
runs-on : ubuntu-latest
41
36
steps :
You can’t perform that action at this time.
0 commit comments