Skip to content

Commit 98f1934

Browse files
committed
ci: only disable threads for gh
1 parent c02d8d0 commit 98f1934

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vitest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export default defineConfig({
2222
},
2323
test: {
2424
globals: true,
25+
// disable threads on GH actions to speed it up
26+
threads: !process.env.GITHUB_ACTIONS,
2527
setupFiles: 'scripts/setupVitest.ts',
2628
environmentMatchGlobs: [
2729
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']

0 commit comments

Comments
 (0)