summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-22 10:44:50 -0600
committerAdam <[email protected]>2026-01-22 10:45:06 -0600
commitc0d3dd51b1afe19a8d4475ebd38a68d1f78d8bc6 (patch)
tree10859cafd3e2ba6a91f78764f7420ef7d6fd9310
parenta96f3d153b192a29bb199c5c5073860db36d8851 (diff)
downloadopencode-c0d3dd51b1afe19a8d4475ebd38a68d1f78d8bc6.tar.gz
opencode-c0d3dd51b1afe19a8d4475ebd38a68d1f78d8bc6.zip
chore: upload playwright assets on test failure
-rw-r--r--.github/workflows/test.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6874d580c..fcbf9569f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -134,3 +134,14 @@ jobs:
VITE_OPENCODE_SERVER_PORT: "4096"
OPENCODE_CLIENT: "app"
timeout-minutes: 30
+
+ - name: Upload Playwright artifacts
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: playwright-${{ matrix.settings.name }}-${{ github.run_attempt }}
+ if-no-files-found: ignore
+ retention-days: 7
+ path: |
+ packages/app/e2e/test-results
+ packages/app/e2e/playwright-report