diff --git a/.changeset/tame-bats-invent.md b/.changeset/tame-bats-invent.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/tame-bats-invent.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 615da0d802f..af3e133428a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -296,6 +296,7 @@ jobs: - name: Run tests in packages run: | + TURBO_ARGS=$(sed -E 's/--concurrency=[0-9]+/--concurrency=1/' <<< "$TURBO_ARGS") if [ "${{ matrix.test-filter }}" = "**" ]; then echo "Running full test suite on Node ${{ matrix.node-version }}" pnpm turbo test $TURBO_ARGS diff --git a/packages/ui/vitest.config.mts b/packages/ui/vitest.config.mts index 956270bd379..8491e803d5e 100644 --- a/packages/ui/vitest.config.mts +++ b/packages/ui/vitest.config.mts @@ -47,7 +47,8 @@ export default defineConfig({ include: ['**/*.test.?(c|m)[jt]s?(x)', '**/*.spec.?(c|m)[jt]s?(x)'], exclude: ['node_modules/**', 'dist/**'], setupFiles: ['../clerk-js/vitest.setup.mts', './vitest.setup.mts'], - testTimeout: 5000, + retry: process.env.CI ? 3 : 0, + testTimeout: process.env.CI ? 10_000 : 5000, }, resolve: { alias: [