File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Playwright Tests
2+ on :
3+ push :
4+ branches : [main, master]
5+ pull_request :
6+ branches : [main, master]
7+ jobs :
8+ test :
9+ timeout-minutes : 60
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : pnpm/action-setup@v4
14+ with :
15+ version : 9
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : lts/*
19+ cache : ' pnpm'
20+ - name : Install dependencies
21+ run : pnpm install --frozen-lockfile
22+ - name : Install Playwright Browsers
23+ run : pnpm exec playwright install --with-deps
24+ - name : Run Playwright tests
25+ run : pnpm exec playwright test
26+ - uses : actions/upload-artifact@v4
27+ if : ${{ !cancelled() }}
28+ with :
29+ name : playwright-report
30+ path : playwright-report/
31+ retention-days : 30
You can’t perform that action at this time.
0 commit comments