mirror of https://github.com/vuejs/core.git
ci: avoid netlify oom
This commit is contained in:
parent
7a0a6658c6
commit
213908cbde
|
@ -22,7 +22,8 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
threads: false,
|
// if not using threads, Netlify goes OOM when generating coverage report
|
||||||
|
threads: process.env.NETLIFY ? true : false,
|
||||||
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