forked from yoloyash/overtchat
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 970 Bytes
/
Copy pathweb-e2e.yml
File metadata and controls
36 lines (34 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Web E2E Smoke
on:
push:
pull_request:
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22.x
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- run: npx playwright install chromium --with-deps
- env:
DATABASE_URL: ":memory:"
BETTER_AUTH_SECRET: ci-build-secret-12345678901234567890
BETTER_AUTH_URL: http://localhost:4717
NEXT_TELEMETRY_DISABLED: "1"
run: npm run build -w apps/web --
- env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CI: true
run: npm run test:e2e -w apps/web --
- uses: actions/upload-artifact@v7
if: failure()
with:
name: playwright-report
path: apps/web/playwright-report/
retention-days: 30