test: always upload cypress recordings (#35032)

This commit is contained in:
Raffael Meyer 2025-12-03 02:15:49 +01:00 committed by GitHub
parent 93aabafca3
commit dc8d8636da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,13 +130,13 @@ jobs:
name: coverage-js-${{ matrix.index }}
path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml
- name: Compress Cypress Videos
if: steps.ui-tests.outcome == 'failure'
if: always() && steps.ui-tests.outcome == 'failure'
run: |
if find ./cypressVideos -mindepth 1 | read; then
zip -r cypress_recordings.zip ./cypressVideos
fi
- name: Upload Cypress Videos
if: steps.ui-tests.outcome == 'failure'
if: always() && steps.ui-tests.outcome == 'failure'
uses: actions/upload-artifact@v5
with:
name: Cypress CI Video Recordings