Skip to content

Commit 6c549d8

Browse files
committed
Added artifact upload
1 parent 99b43a5 commit 6c549d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/e2e-playwright.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ jobs:
5353

5454
- name: Run tests with ENV=prod
5555
working-directory: ./e2e-playwright
56-
run: ENV=prod HEAD=false BASEURL=http://localhost:8080 npm run test
56+
run: ENV=prod HEAD=false BASEURL=http://localhost:8080 npm run test || exit 1
57+
58+
- name: Upload report
59+
if: failure()
60+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # infered from @v4
61+
with:
62+
name: playwright-results
63+
path: ./e2e-playwright/test-results/
64+
retention-days: 7
5765

5866

0 commit comments

Comments
 (0)