mirror of https://github.com/vuejs/core.git
ci: only disable threads for gh
This commit is contained in:
parent
c02d8d097d
commit
98f1934811
|
@ -22,6 +22,8 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
|
// disable threads on GH actions to speed it up
|
||||||
|
threads: !process.env.GITHUB_ACTIONS,
|
||||||
setupFiles: 'scripts/setupVitest.ts',
|
setupFiles: 'scripts/setupVitest.ts',
|
||||||
environmentMatchGlobs: [
|
environmentMatchGlobs: [
|
||||||
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
|
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
|
||||||
|
|
Loading…
Reference in New Issue