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