Skip to content

Commit c0d3dd5

Browse files
committed
chore: upload playwright assets on test failure
1 parent a96f3d1 commit c0d3dd5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,14 @@ jobs:
134134
VITE_OPENCODE_SERVER_PORT: "4096"
135135
OPENCODE_CLIENT: "app"
136136
timeout-minutes: 30
137+
138+
- name: Upload Playwright artifacts
139+
if: failure()
140+
uses: actions/upload-artifact@v4
141+
with:
142+
name: playwright-${{ matrix.settings.name }}-${{ github.run_attempt }}
143+
if-no-files-found: ignore
144+
retention-days: 7
145+
path: |
146+
packages/app/e2e/test-results
147+
packages/app/e2e/playwright-report

0 commit comments

Comments
 (0)