Upload e2e artifacts from CI runs

A flaky test that passed on retry left nothing to debug with. The
fixture already drops passing tests' folders, so this stays small.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-01 18:16:29 +02:00
parent dababb90cf
commit 4a3cdd9849
+10
View File
@@ -46,3 +46,13 @@ jobs:
- name: Run e2e tests
run: npm run test:e2e
# Kept for passing runs too: a test that passed on retry still leaves
# the failed attempt's logs and trace behind.
- name: Upload test artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v6
with:
name: e2e-artifacts
path: tests/artifacts
retention-days: 7