-
Notifications
You must be signed in to change notification settings - Fork 118
42 lines (32 loc) · 935 Bytes
/
playwright.yml
File metadata and controls
42 lines (32 loc) · 935 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
37
38
39
40
41
42
name: Playwright Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- name: Install Playwright
uses: ./.github/actions/setup-playwright
- name: Build workers (webpack)
run: pnpm -r build:worker
- name: Run playwright tests (webpack)
run: pnpm e2e
- name: Build workers (turbopack)
run: pnpm -r build:worker-turbopack
- name: Run playwright tests (turbopack)
run: pnpm e2e-turbopack
- name: Run playwright dev tests
run: pnpm e2e:dev
- uses: actions/upload-artifact@v7
if: always()
with:
name: playwright-report
path: ./**/playwright-report
retention-days: 1