1111 runs-on : ubuntu-latest
1212 defaults :
1313 run :
14- working-directory : ./
14+ working-directory : ./packages/hono-react-router-adapter
1515 strategy :
1616 matrix :
1717 node : [20, 22]
@@ -20,17 +20,20 @@ jobs:
2020 - uses : actions/setup-node@v4
2121 with :
2222 node-version : ${{ matrix.node }}
23- - run : npm install
24- - run : npx playwright install --with-deps
25- - run : npm run build
26- - run : npm run test:e2e:vite
23+ - uses : oven-sh/setup-bun@v2
24+ with :
25+ bun-version : ' 1.2.5'
26+ - run : bun install
27+ - run : bunx playwright install --with-deps
28+ - run : bun run build
29+ - run : bun run test:e2e:vite
2730
2831 cloudflare-pages :
2932 name : ' Cloudflare Pages'
3033 runs-on : ubuntu-latest
3134 defaults :
3235 run :
33- working-directory : ./
36+ working-directory : ./packages/hono-react-router-adapter
3437 strategy :
3538 matrix :
3639 node : [20, 22]
@@ -39,17 +42,20 @@ jobs:
3942 - uses : actions/setup-node@v4
4043 with :
4144 node-version : ${{ matrix.node }}
42- - run : npm install
43- - run : npx playwright install --with-deps
44- - run : npm run build
45- - run : npm run test:e2e:cloudflare-pages
45+ - uses : oven-sh/setup-bun@v2
46+ with :
47+ bun-version : ' 1.2.5'
48+ - run : bun install
49+ - run : bunx playwright install --with-deps
50+ - run : bun run build
51+ - run : bun run test:e2e:cloudflare-pages
4652
4753 cloudflare-workers :
4854 name : ' Cloudflare Workers'
4955 runs-on : ubuntu-latest
5056 defaults :
5157 run :
52- working-directory : ./
58+ working-directory : ./packages/hono-react-router-adapter
5359 strategy :
5460 matrix :
5561 node : [20, 22]
@@ -58,17 +64,20 @@ jobs:
5864 - uses : actions/setup-node@v4
5965 with :
6066 node-version : ${{ matrix.node }}
61- - run : npm install
62- - run : npx playwright install --with-deps
63- - run : npm run build
64- - run : npm run test:e2e:cloudflare-workers
67+ - uses : oven-sh/setup-bun@v2
68+ with :
69+ bun-version : ' 1.2.5'
70+ - run : bun install
71+ - run : bunx playwright install --with-deps
72+ - run : bun run build
73+ - run : bun run test:e2e:cloudflare-workers
6574
6675 node :
6776 name : ' Node.js'
6877 runs-on : ubuntu-latest
6978 defaults :
7079 run :
71- working-directory : ./
80+ working-directory : ./packages/hono-react-router-adapter
7281 strategy :
7382 matrix :
7483 node : [20, 22]
7786 - uses : actions/setup-node@v4
7887 with :
7988 node-version : ${{ matrix.node }}
80- - run : npm install
81- - run : npx playwright install --with-deps
82- - run : npm run build
83- - run : npm run test:e2e:node
89+ - uses : oven-sh/setup-bun@v2
90+ with :
91+ bun-version : ' 1.2.5'
92+ - run : bun install
93+ - run : bunx playwright install --with-deps
94+ - run : bun run build
95+ - run : bun run test:e2e:node
0 commit comments