diff --git a/.github/workflows/_base-ui-tests.yml b/.github/workflows/_base-ui-tests.yml index 40e0db903d..d504158cbb 100644 --- a/.github/workflows/_base-ui-tests.yml +++ b/.github/workflows/_base-ui-tests.yml @@ -129,8 +129,10 @@ jobs: name: coverage-js-${{ matrix.index }} path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml - name: Compress Cypress Videos - run: | - zip -r cypress_recordings.zip ./cypressVideos + run: | + if find ./cypressVideos -mindepth 1 | read; then + zip -r cypress_recordings.zip ./cypressVideos + fi - name: Upload Cypress Videos uses: actions/upload-artifact@v5 with: