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
2 changes: 1 addition & 1 deletion .github/workflows/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node_version:
description: Node.js version to install
required: false
default: "24"
default: "26"

runs:
using: composite
Expand Down
56 changes: 28 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test dev base 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -106,12 +106,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod base 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -156,12 +156,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod base (edge+node) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -208,12 +208,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod base (edge entry) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -260,12 +260,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test dev apps 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -310,12 +310,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod apps 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -360,12 +360,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod apps (edge+node) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -412,12 +412,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test prod apps (edge entry) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -464,12 +464,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24, 26]
include:
- os: macos-latest
node_version: 24
node_version: 26
- os: windows-latest
node_version: 24
node_version: 26
fail-fast: false

name: "Test rsc 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:

- uses: ./.github/workflows/actions/common-setup
with:
node_version: 24
node_version: 26

- name: Lint
run: pnpm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-react-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- uses: ./.github/workflows/actions/common-setup
with:
node_version: 20
node_version: 26

- name: Test create-react-server (${{ matrix.runtime }}/${{ matrix.pkg_mgr }}/${{ matrix.template }})
working-directory: ./packages/create-react-server/test
Expand Down
2 changes: 1 addition & 1 deletion examples/pokemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"autoprefixer": "^10.5.0",
"postcss": "^8.5.15",
"tailwindcss": "^4.3.0",
"vite": "8.0.14"
"vite": "8.0.16"
}
}
2 changes: 1 addition & 1 deletion examples/shadcn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"tailwindcss": "^4.1.56",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "^8.0.12"
"vite": "^8.0.16"
}
}
14 changes: 7 additions & 7 deletions packages/create-react-server/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Integration tests that verify `create-react-server` works correctly across all r
## Test Matrix

### Runtimes
- **Node.js** (`node`) — runs on `node:20`
- **Bun** (`bun`) — runs on a pinned `oven/bun` image with Node.js 20 copied from the official Node image (Node.js is used for `npm install` and tooling; Bun is used at runtime)
- **Deno** (`deno`) — runs on `node:20` with Deno installed
- **Node.js** (`node`) — runs on `node:26`
- **Bun** (`bun`) — runs on a pinned `oven/bun` image with Node.js 26 copied from the official Node image (Node.js is used for `npm install` and tooling; Bun is used at runtime)
- **Deno** (`deno`) — runs on `node:26` with Deno installed

### Presets
- `blank` — minimal JavaScript project
Expand Down Expand Up @@ -47,7 +47,7 @@ Each runtime generates different `package.json` scripts via the `runtime.mjs` ge
The `router` preset's build fails during static export. Dev mode works fine. Build/start tests are skipped for this preset.

### `module-alias` pinned to `~2.2.3`
The `module-alias` package is used by `@lazarv/react-server` to alias CJS `require()` calls (e.g. redirecting `react`, `react-dom`, `picocolors`, etc. to the correct resolved paths). Version 2.3.x introduced `node:module` `registerHooks` which requires Node.js 22+ and is not supported by Deno at all. The dependency is pinned to `~2.2.3` in `packages/react-server/package.json` to maintain compatibility with Node.js 20 and Deno.
The `module-alias` package is used by `@lazarv/react-server` to alias CJS `require()` calls (e.g. redirecting `react`, `react-dom`, `picocolors`, etc. to the correct resolved paths). Version 2.3.x introduced `node:module` `registerHooks`, which is not supported by Deno at all. The dependency is pinned to `~2.2.3` in `packages/react-server/package.json` to maintain Deno compatibility.

## Running Tests

Expand Down Expand Up @@ -107,9 +107,9 @@ test/
│ ├── utils.mjs # Test helpers (pack, build image, run container)
│ └── __snapshots__/ # Vitest snapshots of generated files
├── docker/
│ ├── Dockerfile.bun # pinned oven/bun + Node.js 20
│ ├── Dockerfile.deno # node:20 + Deno
│ ├── Dockerfile.node # node:20
│ ├── Dockerfile.bun # pinned oven/bun + Node.js 26
│ ├── Dockerfile.deno # node:26 + Deno
│ ├── Dockerfile.node # node:26
│ └── entrypoint.sh # Shared test script run inside containers
├── .build/ # Packed tarballs (gitignored)
├── .npm-cache/ # Shared npm cache across runs (gitignored)
Expand Down
Loading
Loading