ci: add Playwright E2E job to Gitea CI
This commit is contained in:
parent
bc7430a436
commit
3dce28df00
@ -62,3 +62,23 @@ jobs:
|
||||
|
||||
- name: Web build
|
||||
run: pnpm --filter web run build
|
||||
e2e:
|
||||
name: E2E — Playwright
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /Users/sd9235/code/mygh/learning_ai_clock
|
||||
steps:
|
||||
- name: Pull latest
|
||||
run: git pull --ff-only origin main || true
|
||||
|
||||
- name: Install workspace dependencies
|
||||
run: HUSKY=0 pnpm install --frozen-lockfile
|
||||
|
||||
- name: Install Playwright browsers
|
||||
run: pnpm --filter web exec playwright install --with-deps chromium
|
||||
|
||||
- name: Run E2E tests
|
||||
run: pnpm --filter web run test:e2e
|
||||
continue-on-error: true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user