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