Skip to content

Commit 68b3806

Browse files
committed
Added CI task to generate reports
1 parent 1be12ce commit 68b3806

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ jobs:
8585
run: HOME=/root vp test -c vite.config.browser.ts --run --browser ${{ matrix.browser }}
8686
working-directory: tests
8787

88+
# Navigable HTML report (the `html` reporter writes it here — same as the
89+
# local `e2e:report` script serves). Uploaded whether the tests pass or
90+
# fail so the run is always inspectable.
91+
- name: Upload e2e report (${{ matrix.browser }})
92+
uses: actions/upload-artifact@v7
93+
if: ${{ !cancelled() }}
94+
with:
95+
name: e2e-report-${{ matrix.browser }}
96+
path: tests/playwright-report/
97+
retention-days: 7
98+
8899
- name: Upload failure artifacts
89100
uses: actions/upload-artifact@v7
90101
if: ${{ failure() }}

0 commit comments

Comments
 (0)