Skip to content

feat(ssr-middleware,vite-node-miniflare)!: support Vite 6 #1948

feat(ssr-middleware,vite-node-miniflare)!: support Vite 6

feat(ssr-middleware,vite-node-miniflare)!: support Vite 6 #1948

Workflow file for this run

name: ci
"on":
push:
branches:
- main
pull_request:
# copied from vitest
# https://github.com/vitest-dev/vitest/blob/e4e939ba2ab48c67ee14b82ec957fc9a8a52756c/.github/workflows/ci.yml#L12-L14
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm lint-check
- run: pnpm build
- run: pnpm tsc
- run: pnpm test
test-react-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm build
- run: npx playwright install chromium
- run: pnpm -C packages/react-server/examples/basic test-e2e
- run: pnpm -C packages/react-server/examples/basic build
- run: pnpm -C packages/react-server/examples/basic test-e2e-preview
- run: pnpm -C packages/react-server test-e2e
test-vite-node-miniflare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm build
- run: npx playwright install chromium
- run: pnpm -C packages/vite-node-miniflare/examples/basic test-e2e
- run: pnpm -C packages/vite-node-miniflare/examples/react test-e2e
- run: pnpm -C packages/vite-node-miniflare/examples/react-router test-e2e
- run: pnpm -C packages/vite-node-miniflare/examples/remix test-e2e
test-vite-glob-routes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: pnpm i
- run: pnpm build
- run: npx playwright install chromium
- run: pnpm -C packages/vite-glob-routes/examples/demo test-e2e
- run: pnpm -C packages/vite-glob-routes/examples/demo build
- run: pnpm -C packages/vite-glob-routes/examples/demo test-e2e-preview
- run: pnpm -C packages/vite-glob-routes/examples/ssr test-e2e
- run: pnpm -C packages/vite-glob-routes/examples/ssr build
- run: pnpm -C packages/vite-glob-routes/examples/ssr test-e2e-preview
- run: pnpm -C packages/vite-glob-routes/examples/spa test-e2e
- run: pnpm -C packages/vite-glob-routes/examples/spa build
- run: pnpm -C packages/vite-glob-routes/examples/spa test-e2e-preview