ci: run playwright e2e suite on github runners

This commit is contained in:
2026-08-19 22:43:31 +02:00
parent d2fc34ed25
commit 70e61c2f34
+24
View File
@@ -25,3 +25,27 @@ jobs:
- run: npm run typecheck - run: npm run typecheck
- run: npx vitest run - run: npx vitest run
- run: npx quasar build -m pwa - run: npx quasar build -m pwa
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: npm ci
- run: npm ci --prefix src-pwa
# no system chromium on the runners: playwright.config.ts only forces an
# executablePath when CHROMIUM_PATH or a system chromium exists, so the
# bundled browser installed here is used
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e
- if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: |
playwright-report/
test-results/
retention-days: 7