chore(nitro): release v0.0.4 (#1321) #6888
This file contains hidden or 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: | |
| # 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: ./.github/actions/setup | |
| with: | |
| build: false | |
| playwright: false | |
| - run: pnpm lint-check | |
| - run: pnpm build | |
| - run: pnpm tsc | |
| - run: pnpm test | |
| test-fullstack: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| build: false | |
| - run: pnpm -C packages/fullstack build | |
| - run: pnpm -C packages/fullstack test-e2e | |
| test-node-loader-cloudflare: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| build: false | |
| - run: pnpm -C packages/fullstack build | |
| - run: pnpm -C packages/node-loader-cloudflare build | |
| - run: pnpm -C packages/node-loader-cloudflare test-e2e | |
| test-import-attributes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| build: false | |
| - run: pnpm -C packages/import-attributes build | |
| - run: pnpm -C packages/import-attributes test-e2e | |
| # superseded by @vitejs/plugin-rsc | |
| # https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc | |
| # test-rsc: | |
| # name: test-rsc (${{ matrix.os }} / ${{ matrix.browser }}) | |
| # runs-on: ${{ matrix.os }} | |
| # strategy: | |
| # # TODO: shard? | |
| # matrix: | |
| # os: [ubuntu-latest, macos-latest, windows-latest] | |
| # browser: [chromium] | |
| # include: | |
| # - os: ubuntu-latest | |
| # browser: firefox | |
| # - os: macos-latest | |
| # browser: webkit | |
| # fail-fast: false | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # with: | |
| # build: false | |
| # playwright: false | |
| # - run: pnpm vite-ecosystem-ci:build | |
| # - run: pnpm exec playwright install ${{ matrix.browser }} | |
| # - run: pnpm -C packages/rsc test-e2e-ci --project=${{ matrix.browser }} | |
| # env: | |
| # TEST_ISOLATED: true | |
| # - uses: actions/upload-artifact@v4 | |
| # if: always() | |
| # with: | |
| # name: test-results-${{ matrix.os }}-${{ matrix.browser }} | |
| # path: | | |
| # packages/rsc/test-results | |
| # test-rolldown: | |
| # name: test-rolldown | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # with: | |
| # 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 test-e2e --grep-invert cloudflare | |
| # env: | |
| # TEST_ISOLATED: true | |
| # test-react-server-basic: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # - 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/examples/basic cf-build | |
| # - run: pnpm -C packages/react-server/examples/basic test-e2e-cf-preview | |
| # - run: pnpm -C packages/react-server/examples/basic deno-build | |
| # test-react-server-basic-swc: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # - run: USE_SWC=1 pnpm -C packages/react-server/examples/basic test-e2e | |
| # - run: USE_SWC=1 pnpm -C packages/react-server/examples/basic build | |
| # - run: pnpm -C packages/react-server/examples/basic test-e2e-preview | |
| # test-react-server-others: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # - run: pnpm -C packages/react-server test-e2e | |
| # - run: pnpm -C packages/react-server/examples/next test-e2e | |
| # - run: pnpm -C packages/react-server/examples/next build | |
| # - run: pnpm -C packages/react-server/examples/next test-e2e-preview | |
| # - run: pnpm -C packages/react-server/examples/next cf-build | |
| # - run: pnpm -C packages/react-server/examples/next test-e2e-cf-preview | |
| # - run: pnpm -C packages/react-server/examples/next vc-build | |
| # - run: pnpm -C packages/react-server/examples/prerender test-e2e | |
| # - run: pnpm -C packages/react-server/examples/prerender build | |
| # - run: pnpm -C packages/react-server/examples/prerender test-e2e-preview | |
| # - run: pnpm -C packages/react-server/examples/prerender cf-build | |
| # - run: pnpm -C packages/react-server/examples/prerender vc-build | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir test-e2e | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir build | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir test-e2e-preview | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir cf-build | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir test-e2e-cf-preview | |
| # - run: pnpm -C packages/react-server/examples/custom-out-dir vc-build | |
| # - run: pnpm -C packages/react-server/examples/postcss-tailwind test-e2e | |
| # - run: pnpm -C packages/react-server/examples/postcss-tailwind build | |
| # - run: pnpm -C packages/react-server/examples/postcss-tailwind test-e2e-preview | |
| # - run: pnpm -C packages/react-server/examples/cloudflare test-e2e | |
| # - run: pnpm -C packages/react-server/examples/cloudflare build | |
| # - run: pnpm -C packages/react-server/examples/cloudflare test-e2e-preview | |
| # test-react-server-package: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # - run: pnpm -C packages/react-server test-package | |
| # test-pre-bundle-new-url: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: ./.github/actions/setup | |
| # - run: pnpm -C packages/pre-bundle-new-url/examples/basic test-e2e | |
| # - run: pnpm -C packages/pre-bundle-new-url/examples/basic build | |
| # - run: pnpm -C packages/pre-bundle-new-url/examples/basic test-e2e-preview |