File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88permissions :
99 contents : read
10+
11+ concurrency :
12+ group : e2e-${{ github.event.pull_request.number || github.ref }}
13+ cancel-in-progress : true
14+
1015jobs :
1116 e2e :
1217 runs-on : ubuntu-latest
18+ timeout-minutes : 15
19+ container :
20+ # Keep this tag aligned with the Playwright version in bun.lock.
21+ image : mcr.microsoft.com/playwright:v1.60.0-noble
22+ options : --ipc=host
1323
1424 steps :
1525 - name : Check out repository
1626 uses : actions/checkout@v6
1727
28+ - name : Install Bun setup prerequisites
29+ run : apt-get update && apt-get install -y --no-install-recommends unzip
30+
1831 - name : Set up Node.js
1932 uses : actions/setup-node@v6
2033 with :
@@ -36,10 +49,12 @@ jobs:
3649 - name : Install dependencies
3750 run : bun install --frozen-lockfile
3851
39- - name : Install Playwright browsers
40- run : bunx playwright install --with-deps chromium
52+ - name : Verify Playwright browser install
53+ timeout-minutes : 3
54+ run : bunx playwright install chromium
4155
4256 - name : Run e2e tests
57+ timeout-minutes : 8
4358 env :
4459 TZ : Etc/UTC
4560 GOOGLE_CLIENT_ID : test-client-id
Original file line number Diff line number Diff line change 5050 "@babel/preset-react" : " ^7.16.7" ,
5151 "@babel/preset-typescript" : " ^7.16.0" ,
5252 "@biomejs/biome" : " ^2.4.12" ,
53- "@playwright/test" : " ^1.56 .0" ,
53+ "@playwright/test" : " ^1.60 .0" ,
5454 "@types/node" : " ^22.13.10" ,
5555 "@types/node-fetch" : " ^2.6.13" ,
5656 "jest" : " ^29.0.3" ,
You can’t perform that action at this time.
0 commit comments