File tree Expand file tree Collapse file tree 2 files changed +20
-30
lines changed
Expand file tree Collapse file tree 2 files changed +20
-30
lines changed Original file line number Diff line number Diff line change 11name : Playwright Tests
2- on :
3- push :
4- branches : [ main, master ]
5- pull_request :
6- branches : [ main, master ]
72jobs :
83 test :
94 timeout-minutes : 60
105 runs-on : ubuntu-latest
116 steps :
12- - uses : actions/checkout@v4
13- - uses : actions/setup-node@v4
14- with :
15- node-version : lts/*
16- - name : Install dependencies
17- run : npm ci
18- - name : Install Playwright Browsers
19- run : npx playwright install --with-deps
20- - name : Run Playwright tests
21- run : npx playwright test
22- - uses : actions/upload-artifact@v4
23- if : ${{ !cancelled() }}
24- with :
25- name : playwright-report
26- path : playwright-report/
27- retention-days : 30
7+ - uses : actions/checkout@v4
8+ - uses : actions/setup-node@v4
9+ with :
10+ node-version : lts/*
11+ - name : Install dependencies
12+ run : npm ci
13+ - name : Install Playwright Browsers
14+ run : npx playwright install --with-deps
15+ - name : Run Playwright tests
16+ run : npx playwright test
17+ - uses : actions/upload-artifact@v4
18+ if : ${{ !cancelled() }}
19+ with :
20+ name : playwright-report
21+ path : playwright-report/
22+ retention-days : 30
Original file line number Diff line number Diff line change 11name : Run Tests
22
3- on :
4- pull_request :
5- branches : [main]
6- push :
7- branches : [main]
8-
93jobs :
104 test :
115 runs-on : ubuntu-latest
1711 - name : Setup Node.js
1812 uses : actions/setup-node@v4
1913 with :
20- node-version : ' 18 '
21- cache : ' npm'
14+ node-version : " 18 "
15+ cache : " npm"
2216
2317 - name : Install dependencies
2418 run : npm ci
3024 run : npm test -- --run
3125
3226 - name : Build project
33- run : npm run build
27+ run : npm run build
28+
You can’t perform that action at this time.
0 commit comments