File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 test :
8+ timeout-minutes : 60
89 runs-on : macos-latest
910 steps :
1011 - uses : actions/checkout@v6
12+ - uses : actions/setup-node@v6
13+ with :
14+ node-version : 22
1115 - uses : oven-sh/setup-bun@v2
1216 - uses : actions/cache@v5
1317 id : playwright-cache
@@ -18,15 +22,22 @@ jobs:
1822 - name : Install dependencies
1923 run : bun ci
2024
21- - name : Install Playwright binaries
22- run : bunx playwright install --with-deps
25+ - name : Install Playwright Browsers
26+ run : npx playwright install --with-deps
2327 if : steps.playwright-cache.outputs.cache-hit != 'true'
2428
2529 - name : Run unit tests
2630 run : bun run test:types
2731
28- - name : Run e2e tests
29- run : bun run test:e2e
32+ - name : Run Playwright tests
33+ run : npx playwright test
34+
35+ - uses : actions/upload-artifact@v4
36+ if : ${{ !cancelled() }}
37+ with :
38+ name : playwright-report
39+ path : playwright-report/
40+ retention-days : 30
3041
3142 - name : Build docs
3243 if : github.ref == 'refs/heads/master'
You can’t perform that action at this time.
0 commit comments