Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ci: only disable threads for gh
  • Loading branch information
yyx990803 committed Feb 21, 2023
1 parent c02d8d0 commit 98f1934
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vitest.config.ts
Expand Up @@ -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']
Expand Down

0 comments on commit 98f1934

Please sign in to comment.