11version : 2.1
22
33orbs :
4- code-infra : https://raw.githubusercontent.com/mui/mui-public/023c96ed6ca37cdb1ff687787e61257c0960285a /.circleci/orbs/code-infra.yml
4+ code-infra : https://raw.githubusercontent.com/mui/mui-public/f5b3498d2fb7a68d366ab7db1f94434b32c4b94d /.circleci/orbs/code-infra.yml
55
66parameters :
77 browserstack-force :
@@ -57,7 +57,7 @@ default-job: &default-job
5757 BASE_BRANCH : master
5858 working_directory : /tmp/mui
5959 executor : code-infra/mui-node
60- resource_class : medium
60+ resource_class : medium.gen2
6161# CircleCI has disabled the cache across forks for security reasons.
6262# Following their official statement, it was a quick solution, they
6363# are working on providing this feature back with appropriate security measures.
@@ -84,7 +84,7 @@ commands:
8484jobs :
8585 test_unit :
8686 << : *default-job
87- resource_class : large
87+ resource_class : large.gen2
8888 steps :
8989 - checkout
9090 - install-deps :
@@ -109,7 +109,7 @@ jobs:
109109 executor :
110110 name : code-infra/mui-node-browser
111111 playwright-img-version : v1.60.0-noble
112- resource_class : xlarge
112+ resource_class : xlarge.gen2
113113 steps :
114114 - checkout
115115 - install-deps :
@@ -152,6 +152,9 @@ jobs:
152152 - code-infra/valelint
153153 test_static :
154154 << : *default-job
155+ environment :
156+ << : *default-environment
157+ NODE_OPTIONS : --max-old-space-size=3584
155158 steps :
156159 - checkout
157160 - install-deps
@@ -200,7 +203,7 @@ jobs:
200203 git add -A && git diff --exit-code --staged
201204 test_types :
202205 << : *default-job
203- resource_class : large
206+ resource_class : large.gen2
204207 steps :
205208 - checkout
206209 - install-deps
@@ -220,6 +223,7 @@ jobs:
220223 executor :
221224 name : code-infra/mui-node-browser
222225 playwright-img-version : v1.60.0-noble
226+ resource_class : medium
223227 steps :
224228 - checkout
225229 - install-deps :
@@ -235,6 +239,7 @@ jobs:
235239 executor :
236240 name : code-infra/mui-node-browser
237241 playwright-img-version : v1.60.0-noble
242+ resource_class : medium
238243 steps :
239244 - checkout
240245 - install-deps
@@ -245,6 +250,7 @@ jobs:
245250 PLAYWRIGHT_TEST_BASE_URL : << parameters.e2e-base-url >>
246251 test_package :
247252 << : *default-job
253+ resource_class : medium
248254 steps :
249255 - checkout
250256 - install-deps :
@@ -258,7 +264,7 @@ jobs:
258264 executor :
259265 name : code-infra/mui-node-browser
260266 playwright-img-version : v1.60.0-noble
261- resource_class : large
267+ resource_class : large.gen2
262268 steps :
263269 - checkout
264270 - install-deps :
@@ -277,6 +283,7 @@ jobs:
277283 executor :
278284 name : code-infra/mui-node-browser
279285 playwright-img-version : v1.60.0-noble
286+ resource_class : medium
280287 steps :
281288 - checkout
282289 - run :
0 commit comments