test(app): emit junit artifacts for playwright (#20732)

This commit is contained in:
Kit Langton
2026-04-02 15:07:46 -04:00
committed by GitHub
parent 6dfb30448c
commit f549fde874
2 changed files with 9 additions and 2 deletions

View File

@@ -105,15 +105,17 @@ jobs:
run: bun --cwd packages/app test:e2e:local
env:
CI: true
PLAYWRIGHT_JUNIT_OUTPUT: e2e/junit-${{ matrix.settings.name }}.xml
timeout-minutes: 30
- name: Upload Playwright artifacts
if: failure()
if: always()
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/junit-*.xml
packages/app/e2e/test-results
packages/app/e2e/playwright-report