From: Evan You Date: Tue, 21 Feb 2023 14:46:43 +0000 (+0800) Subject: ci: only disable threads for gh X-Git-Tag: v3.3.0-alpha.5~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f1934811d8c8774cd01d18fa36ea3ec68a0a54;p=thirdparty%2Fvuejs%2Fcore.git ci: only disable threads for gh --- diff --git a/vitest.config.ts b/vitest.config.ts index 2eab2be186..e5d5f59345 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -22,6 +22,8 @@ export default defineConfig({ }, test: { globals: true, + // disable threads on GH actions to speed it up + threads: !process.env.GITHUB_ACTIONS, setupFiles: 'scripts/setupVitest.ts', environmentMatchGlobs: [ ['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']