Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 998a318

Browse files
committed
chore(ci): Upload test e2e failed screenshots
1 parent afa42c1 commit 998a318

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
- name: Test E2E
4444
run: npm run test:e2e:ci
4545
id: test-e2e
46+
- name: Upload E2E tests screenshots
47+
if: ${{ always() && steps.test-e2e.outcome == 'failure' }}
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: e2e-screenshots-${{ matrix.node }}
51+
path: test-e2e/cypress/screenshots
52+
retention-days: 7
4653
- name: Upload test results
4754
uses: actions/upload-artifact@v2
4855
with:

0 commit comments

Comments
 (0)