Skip to content

Commit 878eff8

Browse files
authored
[infra] Use cpu option only in CI (#46588)
1 parent 58c70cd commit 878eff8

File tree

2 files changed

+54
-53
lines changed

2 files changed

+54
-53
lines changed

docs/nextConfigDocsInfra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function withDocsInfra(nextConfig) {
7575
experimental: {
7676
scrollRestoration: true,
7777
workerThreads: false,
78-
cpus: 3,
78+
...(process.env.CI ? { cpus: 3 } : {}),
7979
...nextConfig.experimental,
8080
},
8181
eslint: {

pnpm-lock.yaml

Lines changed: 53 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)