feat(viteroll): extract hmr chunk from normal build #550
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ci-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
vue-server: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./vue-server | |
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 tsc | |
- run: pnpm test | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm build | |
- run: pnpm test-e2e-preview | |
tsr-rsc: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tsr-rsc | |
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 tsc | |
- run: pnpm test | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm build | |
- run: pnpm test-e2e-preview | |
ppr: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ppr | |
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 tsc | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm build | |
- run: pnpm test-e2e-preview | |
webpack-rsc: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./webpack-rsc | |
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 tsc | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm build | |
- run: pnpm test-e2e-preview | |
oxc-rsc: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./oxc-rsc | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup show | |
- run: cargo fmt --check | |
- run: cargo test | |
viteroll: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./viteroll | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: pnpm i | |
- run: pnpm lint-check | |
- run: pnpm tsc | |
- run: pnpm exec playwright install chromium | |
- run: pnpm test-e2e | |
- run: pnpm -C examples/react test-e2e | |
- run: pnpm -C examples/mpa test-e2e | |
- run: pnpm -C examples/ssr test-e2e |