Files
starr-philproperties/.github/workflows/test.yml
T
kennethobsequio 05f27e34d7 asset viewer now viewing on tabs
Tabs is better for this yay

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-28 19:34:10 +08:00

35 lines
913 B
YAML

name: E2E tests
on:
pull_request: {}
push:
branches: [main, qas]
workflow_dispatch: {}
jobs:
e2e:
runs-on: [self-hosted, ux]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile=false
- name: Install Playwright Firefox
run: pnpm --filter e2e exec playwright install firefox --with-deps
- name: Run e2e suite
run: pnpm --filter e2e test
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: apps/e2e/playwright-report/
retention-days: 14
- name: Sweep QA-TEST fixtures
if: always()
run: node -e "require('./apps/e2e/helpers/cleanup').cleanupQaTestFixtures().then(r => console.log('Removed:', r)).catch(e => { console.error(e); process.exit(0); })"