File tree Expand file tree Collapse file tree 1 file changed +37
-34
lines changed
Expand file tree Collapse file tree 1 file changed +37
-34
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 dependencies
24- run : npm ci
25-
26- - name : Run Playwright tests
27- run : npx playwright test
28-
29- - name : Upload Playwright report
30- if : always()
31- uses : actions/upload-artifact@v4
32- with :
33- name : playwright-report
34- 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 dependencies
24+ run : npm ci
25+
26+ - name : Install Playwright browsers
27+ run : npx playwright install
28+
29+ - name : Run Playwright tests
30+ run : npx playwright test
31+
32+ - name : Upload Playwright report
33+ if : always()
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : playwright-report
37+ path : playwright-report/
You can’t perform that action at this time.
0 commit comments