File tree Expand file tree Collapse file tree 1 file changed +40
-40
lines changed
Expand file tree Collapse file tree 1 file changed +40
-40
lines changed Original file line number Diff line number Diff line change 1- name : Playwright Tests
2-
3- on :
4- push :
5- branches :
6- - main
7- - ' **'
8- pull_request :
9-
10- jobs :
11- test :
12- runs-on : ubuntu-latest
13-
14- steps :
15- - name : Checkout code
16- uses : actions/checkout@v4
17-
18- - name : Set up Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : ' 20'
22-
23- - name : Install Playwright dependencies
24- run : sudo npx playwright install-deps
25-
26- - name : Install dependencies
27- run : npm ci
28-
29- - name : Install Playwright browsers
30- run : npx playwright install
31-
32- - name : Run Playwright tests
33- run : npx playwright test --reporter=html
34-
35- - name : Upload Playwright report
36- if : always()
37- uses : actions/upload-artifact@v4
38- with :
39- name : playwright-report
40- path : playwright-report/
1+ name : Playwright Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' **'
8+ pull_request :
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 20'
22+
23+ - name : Install Playwright dependencies
24+ run : sudo npx playwright install-deps
25+
26+ - name : Install dependencies
27+ run : npm ci
28+
29+ - name : Install Playwright browsers
30+ run : npx playwright install
31+
32+ - name : Run Playwright tests
33+ run : npx playwright test --reporter=html
34+
35+ - name : Upload Playwright report
36+ if : always()
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : playwright-report
40+ path : playwright-report/
You can’t perform that action at this time.
0 commit comments