-
-
Notifications
You must be signed in to change notification settings - Fork 345
28 lines (28 loc) · 695 Bytes
/
playwright.yml
File metadata and controls
28 lines (28 loc) · 695 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
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.41.2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install -g pnpm@8.8.0
- run: pnpm install
- run: pnpm build
- run: npx playwright install
- run: pnpm test || exit 1
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30