Skip to content

Commit

Permalink
fix: revert CI change
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Dec 20, 2023
1 parent 0aa7a96 commit 705c899
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,18 +345,8 @@ export async function everyMonorepoProject (projectDir, fn, opts) {
inDegree.set(name, project.siblingDependencies.length)
}

let concurrency = opts?.concurrency

if (concurrency == null && process.env.CI != null) {
concurrency = 1
}

if (concurrency == null) {
concurrency = os.availableParallelism?.() ?? os.cpus().length
}

const queue = new PQueue({
concurrency
concurrency: opts?.concurrency ?? os.availableParallelism?.() ?? os.cpus().length
})

while (inDegree.size) {
Expand Down

0 comments on commit 705c899

Please sign in to comment.