Skip to content

Commit 3d6c25d

Browse files
committed
chore(ci): upload snapshots of failed cy component tests
Signed-off-by: Max <[email protected]>
1 parent 8c0aabb commit 3d6c25d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cypress-component.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ jobs:
5757
CYPRESS_BUILD_ID: ${{ github.sha }}-${{ github.run_number }}
5858
CYPRESS_GROUP: Run component
5959
npm_package_name: ${{ env.APP_NAME }}
60+
61+
- name: Upload snapshots
62+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
63+
if: failure()
64+
with:
65+
name: snapshots
66+
path: |
67+
cypress/screenshots/
68+
cypress/snapshots/
69+
retention-days: 5

0 commit comments

Comments
 (0)