-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to limit max-parallel on CI #116
Comments
Open to it. |
Hi there. I was looking to see if this was something I could do. There is already an |
Slightly! My suggestion was to read from an environment variable if {
"scripts": {
"build": "pnpm --filter '@internal' build --if-present"
}
} triggers a bunch of |
If you want to add an ENV lookup where the flag is read, it probably wouldn't be hard to add (hopefully). Maybe call it |
@atomicpages The better solution would be to add workspace support to |
CI systems generally have restricted resources so it'd be great to limit the number of parallel processes via env var. I envision something like this:
MAX_PARALLEL_TASKS=4 npm-run-all -p build:*
a more verbose example with gitlab CI might look like:
I'd be happy to make a MR for this if the community is interested. LMK! 🙏
The text was updated successfully, but these errors were encountered: