Skip to content

Commit bdec141

Browse files
committed
wip
1 parent f3840c3 commit bdec141

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ jobs:
4949
spec: packages/${{ matrix.spec }}
5050
install: false
5151

52+
# Upload Cypress screenshots if tests fail
53+
- name: Upload Cypress screenshots
54+
if: failure()
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: cypress-screenshots-${{ matrix.react }}
58+
path: cypress/screenshots
59+
if-no-files-found: ignore
60+
61+
# Always upload Cypress videos
62+
- name: Upload Cypress videos
63+
if: failure()
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: cypress-videos-${{ matrix.react }}
67+
path: cypress/videos
68+
if-no-files-found: ignore
69+
5270
- uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
5371
if: ${{ inputs.reportCoverage && matrix.react == '19' }}
5472
with:

0 commit comments

Comments
 (0)