Skip to content

Commit

Permalink
💚 ci: Read available CPUs from CircleCi environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Jun 12, 2020
1 parent dfd4116 commit 8d596ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let buildConfig = {
}
},
parallel: process.env.CIRCLE_NODE_TOTAL
? process.env.CIRCLE_NODE_TOTAL
? parseInt(process.env.CIRCLE_NODE_TOTAL)
: require("os").cpus().length > 1,
configureWebpack: {
devtool: isLocalDev ? "eval" : produceSourceMaps ? "source-map" : "",
Expand Down

0 comments on commit 8d596ce

Please sign in to comment.