diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 4c2ab8f3de..7f864fcb31 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -145,7 +145,6 @@ jobs: - name: vibe-dashboard node-version: 24 command: | - npx playwright install chromium # FIXME: Failed to load JS plugin: ./plugins/debugger.js # vp run ready vp fmt @@ -216,7 +215,6 @@ jobs: - name: vitepress node-version: 24 command: | - npx playwright install chromium vp run format vp run build vp test run -r __tests__/unit @@ -226,7 +224,6 @@ jobs: - name: tanstack-start-helloworld node-version: 24 command: | - npx playwright install chromium vp run test vp run build - name: oxlint-plugin-complexity @@ -241,7 +238,6 @@ jobs: - name: vite-vue-vercel node-version: 24 command: | - npx playwright install chromium vp run test vp run build - name: dify @@ -314,7 +310,6 @@ jobs: - name: vitest-playwright-repro node-version: 24 command: | - npx playwright install chromium vp test - name: vite-plus-vitest-type-aug node-version: 24 @@ -410,6 +405,19 @@ jobs: shell: bash run: node $GITHUB_WORKSPACE/ecosystem-ci/verify-install.ts + - name: Determine playwright requirement + id: pw + shell: bash + run: | + needs=$(jq -r --arg p '${{ matrix.project.name }}' '.[$p].playwright // false' "$GITHUB_WORKSPACE/ecosystem-ci/repo.json") + echo "needs=$needs" >> "$GITHUB_OUTPUT" + + - name: Install Playwright chromium + if: steps.pw.outputs.needs == 'true' + working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }} + shell: bash + run: npx playwright install chromium + - name: Run vite-plus commands in ${{ matrix.project.name }} working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }} run: ${{ matrix.project.command }} diff --git a/ecosystem-ci/repo.json b/ecosystem-ci/repo.json index e184aaabf8..38d4fb1340 100644 --- a/ecosystem-ci/repo.json +++ b/ecosystem-ci/repo.json @@ -13,8 +13,9 @@ "vibe-dashboard": { "repository": "https://github.com/voidzero-dev/vibe-dashboard.git", "branch": "main", - "hash": "158e4a0c3d8a1801e330300a5deba4506fd5dfb9", - "forceFreshMigration": true + "hash": "92a143a57478723987e778439a355291835135ec", + "forceFreshMigration": true, + "playwright": true }, "rollipop": { "repository": "https://github.com/leegeunhyeok/rollipop.git", @@ -37,14 +38,16 @@ "hash": "0d3912b73d3aa1dc8f64619c82b3dacb0769e49e" }, "vitepress": { - "repository": "https://github.com/vuejs/vitepress.git", - "branch": "feat/vite-8", - "hash": "9330f228861623c71f2598271d4e79c9c53f2c08" + "repository": "https://github.com/fengmk2/vitepress.git", + "branch": "feat/vite-8-and-fix-playwright-chromium", + "hash": "ff11029b8853b2f2dd8e32f7ed4581b28c020ccb", + "playwright": true }, "tanstack-start-helloworld": { "repository": "https://github.com/fengmk2/tanstack-start-helloworld.git", "branch": "main", - "hash": "09bafe177bbcd1e3108c441a67601ae6380ad352" + "hash": "ae2cfafa384da35c57912b7e776414c1837487c2", + "playwright": true }, "oxlint-plugin-complexity": { "repository": "https://github.com/itaymendel/oxlint-plugin-complexity.git", @@ -54,7 +57,8 @@ "vite-vue-vercel": { "repository": "https://github.com/fengmk2/vite-vue-vercel.git", "branch": "main", - "hash": "f2bf9fc40880c6a80f5d89bff70641c2eeaf77ef" + "hash": "f2bf9fc40880c6a80f5d89bff70641c2eeaf77ef", + "playwright": true }, "viteplus-ws-repro": { "repository": "https://github.com/Charles5277/viteplus-ws-repro.git", @@ -112,7 +116,8 @@ "vitest-playwright-repro": { "repository": "https://github.com/why-reproductions-are-required/vitest-playwright-repro.git", "branch": "main", - "hash": "f7252170025c01ec482fa9ad43e09b965f46928f" + "hash": "15cb1ac9154f9d67a987a80c08963701b99efd7c", + "playwright": true }, "vite-plus-vitest-type-aug": { "repository": "https://github.com/why-reproductions-are-required/vite-plus-vitest-type-aug.git",