Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 32 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
working-directory: ./packages/hono-react-router-adapter
strategy:
matrix:
node: [20, 22]
Expand All @@ -20,17 +20,20 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:vite
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.2.5'
- run: bun install
- run: bunx playwright install --with-deps
- run: bun run build
- run: bun run test:e2e:vite

cloudflare-pages:
name: 'Cloudflare Pages'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
working-directory: ./packages/hono-react-router-adapter
strategy:
matrix:
node: [20, 22]
Expand All @@ -39,17 +42,20 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:cloudflare-pages
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.2.5'
- run: bun install
- run: bunx playwright install --with-deps
- run: bun run build
- run: bun run test:e2e:cloudflare-pages

cloudflare-workers:
name: 'Cloudflare Workers'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
working-directory: ./packages/hono-react-router-adapter
strategy:
matrix:
node: [20, 22]
Expand All @@ -58,17 +64,20 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:cloudflare-workers
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.2.5'
- run: bun install
- run: bunx playwright install --with-deps
- run: bun run build
- run: bun run test:e2e:cloudflare-workers

node:
name: 'Node.js'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
working-directory: ./packages/hono-react-router-adapter
strategy:
matrix:
node: [20, 22]
Expand All @@ -77,7 +86,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:node
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.2.5'
- run: bun install
- run: bunx playwright install --with-deps
- run: bun run build
- run: bun run test:e2e:node
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
*.tgz
dist
.DS_Store
package-lock.json
2,495 changes: 2,495 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/cloudflare-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@react-router/cloudflare": "^7.0.1",
"@react-router/fs-routes": "^7.0.1",
"hono": "^4.5.11",
"hono-react-router-adapter": "workspace:*",
"isbot": "^4.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
1 change: 1 addition & 0 deletions examples/cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@react-router/cloudflare": "^7.0.1",
"@react-router/fs-routes": "^7.0.1",
"hono": "^4.6.9",
"hono-react-router-adapter": "workspace:*",
"isbot": "^4.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
3 changes: 2 additions & 1 deletion examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@react-router/node": "^7.0.1",
"@react-router/serve": "^7.0.0",
"hono": "^4.6.11",
"hono-react-router-adapter": "workspace:*",
"isbot": "^4.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -39,4 +40,4 @@
"engines": {
"node": ">=20.0.0"
}
}
}
Loading
Loading