File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-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 : actions/setup-node@v4
14
+ with :
15
+ node-version : 16
16
+ - name : Install dependencies
17
+ working-directory : ./web/playwright
18
+ run : npm ci
19
+ - name : Install Playwright Browsers
20
+ working-directory : ./web/playwright
21
+ run : npx playwright install --with-deps
22
+ - name : Run Playwright tests
23
+ working-directory : ./web/playwright
24
+ run : npx playwright test
25
+ - uses : actions/upload-artifact@v3
26
+ if : always()
27
+ with :
28
+ name : playwright-report
29
+ path : ./web/playwright/playwright-report/
30
+ retention-days : 30
You can’t perform that action at this time.
0 commit comments