Skip to content

Commit

Permalink
Limit build concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed May 23, 2023
1 parent a0abe75 commit e5df90d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ defaults: &defaults
working_directory: /tmp/material-ui
docker:
- image: cimg/node:18.16
resource_class: 'medium+'

# CircleCI has disabled the cache across forks for security reasons.
# Following their official statement, it was a quick solution, they
Expand Down Expand Up @@ -248,6 +247,7 @@ jobs:
git diff --exit-code
test_types:
<<: *defaults
resource_class: 'medium+'

steps:
- checkout
Expand Down Expand Up @@ -298,6 +298,7 @@ jobs:
- packages/mui-utils/build
test_types_next:
<<: *defaults
resource_class: 'medium+'
steps:
- checkout
- run:
Expand Down Expand Up @@ -346,6 +347,7 @@ jobs:
exit 0
test_browser:
<<: *defaults
resource_class: 'medium+'
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
environment:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"benchmark:browser": "yarn workspace benchmark browser",
"build:codesandbox": "lerna run --parallel --scope \"@mui/*\" build",
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --force-publish=@mui/core-downloads-tracker",
"release:build": "lerna run --parallel --scope \"@mui/*\" build",
"release:build": "lerna run --concurrency 4 --scope \"@mui/*\" build",
"release:changelog": "node scripts/releaseChangelog.mjs",
"release:publish": "lerna publish from-package --dist-tag latest --contents build",
"release:publish:dry-run": "lerna publish from-package --dist-tag latest --contents build --registry=\"http://localhost:4873/\"",
Expand Down

0 comments on commit e5df90d

Please sign in to comment.