Browse Source

ci: only disable threads for gh

pull/7717/head
Evan You 2 years ago
parent
commit
98f1934811
  1. 2
      vitest.config.ts

2
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']

Loading…
Cancel
Save