@@ -72,7 +72,6 @@ commands:
72
72
name : Set npm registry public signing keys
73
73
command : |
74
74
echo "export COREPACK_INTEGRITY_KEYS='$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')'" >> $BASH_ENV
75
-
76
75
- when :
77
76
condition : << parameters.browsers >>
78
77
steps :
@@ -87,31 +86,26 @@ commands:
87
86
name : Install pnpm package manager
88
87
# See https://stackoverflow.com/a/73411601
89
88
command : corepack enable --install-directory ~/bin
90
-
91
89
- run :
92
90
name : View install environment
93
91
command : |
94
92
node --version
95
93
pnpm --version
96
-
97
94
install_js :
98
95
parameters :
99
96
browsers :
100
97
type : boolean
101
98
default : false
102
99
description : ' Set to true if you intend to any browser (for example with playwright).'
103
-
104
100
steps :
105
101
- setup_corepack :
106
102
browsers : << parameters.browsers >>
107
-
108
103
- run :
109
104
name : Resolve React version
110
105
command : |
111
106
pnpm use-react-version
112
107
# log a patch for maintainers who want to check out this change
113
108
git --no-pager diff HEAD
114
-
115
109
- run :
116
110
name : Install js dependencies
117
111
command : pnpm install
@@ -251,7 +245,7 @@ jobs:
251
245
git add -f packages/mui-material/build || echo '/material declarations do not exist'
252
246
git add -f packages/mui-lab/build || echo '/lab declarations do not exist'
253
247
git add -f packages/mui-utils/build || echo '/utils declarations do not exist'
254
- pnpm -r build:stable && pnpm -r build:types
248
+ pnpm -r build:stable && pnpm -r build:types
255
249
git --no-pager diff
256
250
- run :
257
251
name : Any defect declaration files?
@@ -285,14 +279,12 @@ jobs:
285
279
set +e
286
280
pnpm typescript:ci
287
281
exit 0
288
-
289
282
- restore_cache :
290
283
name : Restore generated declaration files
291
284
keys :
292
285
# We assume that the target branch is `next` and that declaration files are persisted in commit order.
293
286
# "If there are multiple matches, the most recently generated cache will be used."
294
287
- typescript-declaration-files-next
295
-
296
288
- run :
297
289
name : Diff declaration files
298
290
command : |
@@ -301,7 +293,6 @@ jobs:
301
293
git add -f packages/mui-utils/build || echo '/utils declarations do not exist'
302
294
pnpm -r build:types
303
295
git --no-pager diff
304
-
305
296
- run :
306
297
name : Log defect declaration files
307
298
command : |
@@ -431,7 +422,6 @@ jobs:
431
422
root : packed
432
423
paths :
433
424
- ' *'
434
-
435
425
test_bundling_node_cjs :
436
426
<< : *default-job
437
427
working_directory : /tmp/material-ui/test/bundling/fixtures/node-cjs/
@@ -591,7 +581,6 @@ jobs:
591
581
- run :
592
582
name : Test fixture
593
583
command : pnpm start
594
-
595
584
test_bundle_size_monitor :
596
585
<< : *default-job
597
586
steps :
@@ -700,7 +689,6 @@ workflows:
700
689
jobs :
701
690
- test_e2e_website :
702
691
<< : *default-context
703
-
704
692
bundling :
705
693
when :
706
694
equal : [bundling, << pipeline.parameters.workflow >>]
@@ -743,7 +731,6 @@ workflows:
743
731
<< : *default-context
744
732
requires :
745
733
- test_bundling_prepare
746
-
747
734
profile :
748
735
when :
749
736
equal : [profile, << pipeline.parameters.workflow >>]
0 commit comments