diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45ccc6c..a7a7906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: lint/test on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 155d408..c9a348e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,6 @@ permissions: pull-requests: write jobs: - # Re-run lint + tests at merge time; the release is gated on them passing. ci: if: github.event.pull_request.merged == true uses: ./.github/workflows/ci.yml diff --git a/vite.config.ts b/vite.config.ts index 3f5a0fb..06175b5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -157,6 +157,11 @@ export default defineConfig({ ], test: { name: "storybook", + // Browser-mode story tests flake under CI's constrained parallelism + // (transient dynamic-import / iframe races). Run serially + retry there; + // keep the fast parallel path locally. + fileParallelism: !process.env.CI, + retry: process.env.CI ? 2 : 0, browser: { enabled: true, headless: true,