Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7a30399
test: rework e2e
hi-ogawa Jul 1, 2025
8f7515d
test: add setupFixtureDev/Build
hi-ogawa Jul 1, 2025
e3eb42b
test: cleanup
hi-ogawa Jul 1, 2025
cd59886
chore: cleanup
hi-ogawa Jul 1, 2025
0c5a9b6
test: ssg (wip)
hi-ogawa Jul 1, 2025
3c39932
test: ssg
hi-ogawa Jul 1, 2025
45b6d1c
test: windows?
hi-ogawa Jul 1, 2025
212077e
test: tweak cli
hi-ogawa Jul 1, 2025
1c1b075
Revert "test: tweak cli"
hi-ogawa Jul 1, 2025
4179357
test: refactor fixture utils
hi-ogawa Jul 1, 2025
200a662
chore: cleanup
hi-ogawa Jul 1, 2025
c3cf306
test: tweak fixture
hi-ogawa Jul 1, 2025
659ba4b
test: kill windows
hi-ogawa Jul 1, 2025
d99be7f
test: tweak
hi-ogawa Jul 1, 2025
7ef8e00
test: tweak
hi-ogawa Jul 1, 2025
51d4e0d
test: windows taskkill
hi-ogawa Jul 2, 2025
aefa07d
test: move starter-cf-single/e2e
hi-ogawa Jul 2, 2025
f42330d
chore: unused deps
hi-ogawa Jul 2, 2025
99be8e7
chore: cleanup
hi-ogawa Jul 2, 2025
eb0c229
refactor: move code
hi-ogawa Jul 2, 2025
27a9754
test: tweak
hi-ogawa Jul 2, 2025
4ab44ee
chore: cleanup
hi-ogawa Jul 2, 2025
9ad496b
test: refactor
hi-ogawa Jul 2, 2025
4ba2a6a
test: move to e2e/react-router.test.ts
hi-ogawa Jul 2, 2025
ad95c22
test: f.url
hi-ogawa Jul 2, 2025
50a9c38
refactor: Fixture.createEditor
hi-ogawa Jul 2, 2025
e45dea9
test: refactor
hi-ogawa Jul 2, 2025
d476c79
test: refactor f.url
hi-ogawa Jul 2, 2025
62d1a1d
test: fix modulepreload
hi-ogawa Jul 2, 2025
1bf0032
test: test react-router-cf
hi-ogawa Jul 2, 2025
2af3559
ci: cleanup
hi-ogawa Jul 2, 2025
09135a2
test: windows?
hi-ogawa Jul 2, 2025
1e7a1ed
test: tinyexec for windows
hi-ogawa Jul 2, 2025
83eec18
test: tweak
hi-ogawa Jul 2, 2025
51a91f5
test: rename
hi-ogawa Jul 2, 2025
acc1fbc
test: cleanup
hi-ogawa Jul 2, 2025
5c7fda8
test: use tags
hi-ogawa Jul 2, 2025
da9a3da
test: move basic/e2e wip
hi-ogawa Jul 2, 2025
6d093e5
test: wip
hi-ogawa Jul 2, 2025
23701d5
test: fix csp
hi-ogawa Jul 2, 2025
0380829
test: basic TEST_BASE
hi-ogawa Jul 2, 2025
fd8cde8
test: cleanup
hi-ogawa Jul 2, 2025
c33b2ae
test: fix read assets manifest
hi-ogawa Jul 2, 2025
af0710e
test: test isolated
hi-ogawa Jul 2, 2025
4f88ce4
test: tweak
hi-ogawa Jul 2, 2025
f2e11b7
test: tewak
hi-ogawa Jul 2, 2025
0e8be4f
ci: skip cloudflare on test-rolldown
hi-ogawa Jul 2, 2025
c1854b2
test: cleanup
hi-ogawa Jul 2, 2025
c0d5f52
test: cleanup
hi-ogawa Jul 2, 2025
0d6f5ae
test: tweak exit code log
hi-ogawa Jul 2, 2025
582de3e
ci: rename upload-artifact
hi-ogawa Jul 2, 2025
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
40 changes: 8 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
name: test-rsc-core (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
# TODO: shard?
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
Expand All @@ -38,40 +39,15 @@ jobs:
with:
build: false
- run: pnpm vite-ecosystem-ci:build
- run: pnpm -C packages/rsc/examples/starter-e2e test-e2e
- run: pnpm -C packages/rsc/examples/starter build
- run: pnpm -C packages/rsc/examples/starter-e2e test-e2e-preview
- run: pnpm -C packages/rsc/examples/basic test-e2e
- run: pnpm -C packages/rsc/examples/basic build
- run: pnpm -C packages/rsc/examples/basic test-e2e-preview
- run: pnpm -C packages/rsc test-package
if: runner.os != 'Windows'
- run: pnpm -C packages/rsc/examples/basic test-e2e
- run: pnpm -C packages/rsc test-e2e
env:
TEST_BASE: 1
- run: pnpm -C packages/rsc/examples/basic build
env:
TEST_BASE: 1
- run: pnpm -C packages/rsc/examples/basic test-e2e-preview
env:
TEST_BASE: 1
- run: pnpm -C packages/rsc/examples/ssg build
- run: pnpm -C packages/rsc/examples/react-router test-e2e
- run: pnpm -C packages/rsc/examples/react-router build
- run: pnpm -C packages/rsc/examples/react-router test-e2e-preview
- run: pnpm -C packages/rsc/examples/react-router test-e2e-cf
- run: pnpm -C packages/rsc/examples/react-router cf-build
- run: pnpm -C packages/rsc/examples/react-router test-e2e-cf-preview
- run: pnpm -C packages/rsc/examples/starter-cf-single test-e2e
- run: pnpm -C packages/rsc/examples/starter-cf-single build
- run: pnpm -C packages/rsc/examples/starter-cf-single test-e2e-preview
TEST_ISOLATED: true
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
name: test-results-${{ matrix.os }}
path: |
packages/rsc/examples/basic/test-results
packages/rsc/examples/react-router/test-results
packages/rsc/test-results

test-rolldown:
name: test-rolldown
Expand All @@ -83,9 +59,9 @@ jobs:
build: false
- run: pnpm vite-ecosystem-ci:build
- run: pnpm i -w vite@npm:rolldown-vite@latest && pnpm i --no-frozen-lockfile
- run: pnpm -C packages/rsc/examples/basic test-e2e
- run: pnpm -C packages/rsc/examples/basic build
- run: pnpm -C packages/rsc/examples/basic test-e2e-preview
- run: pnpm -C packages/rsc test-e2e --grep-invert cloudflare
env:
TEST_ISOLATED: true

test-react-server-basic:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "pnpm -r --sequential test run",
"vite-ecosystem-ci:build": "pnpm -r --filter '@hiogawa/vite-rsc...' build",
"vite-ecosystem-ci:before-test": "playwright install chromium",
"vite-ecosystem-ci:test": "bash scripts/vite-ecosystem-ci.sh",
"vite-ecosystem-ci:test": "pnpm -C packages/rsc test-e2e",
"lint": "biome check --write .",
"lint-check": "biome check ."
},
Expand Down
Loading
Loading