Skip to content

Commit f273220

Browse files
[core] Apply yml convention, blank line only at top level
1 parent c5a3c89 commit f273220

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.circleci/config.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ commands:
7272
name: Set npm registry public signing keys
7373
command: |
7474
echo "export COREPACK_INTEGRITY_KEYS='$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')'" >> $BASH_ENV
75-
7675
- when:
7776
condition: << parameters.browsers >>
7877
steps:
@@ -87,31 +86,26 @@ commands:
8786
name: Install pnpm package manager
8887
# See https://stackoverflow.com/a/73411601
8988
command: corepack enable --install-directory ~/bin
90-
9189
- run:
9290
name: View install environment
9391
command: |
9492
node --version
9593
pnpm --version
96-
9794
install_js:
9895
parameters:
9996
browsers:
10097
type: boolean
10198
default: false
10299
description: 'Set to true if you intend to any browser (for example with playwright).'
103-
104100
steps:
105101
- setup_corepack:
106102
browsers: << parameters.browsers >>
107-
108103
- run:
109104
name: Resolve React version
110105
command: |
111106
pnpm use-react-version
112107
# log a patch for maintainers who want to check out this change
113108
git --no-pager diff HEAD
114-
115109
- run:
116110
name: Install js dependencies
117111
command: pnpm install
@@ -251,7 +245,7 @@ jobs:
251245
git add -f packages/mui-material/build || echo '/material declarations do not exist'
252246
git add -f packages/mui-lab/build || echo '/lab declarations do not exist'
253247
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
255249
git --no-pager diff
256250
- run:
257251
name: Any defect declaration files?
@@ -285,14 +279,12 @@ jobs:
285279
set +e
286280
pnpm typescript:ci
287281
exit 0
288-
289282
- restore_cache:
290283
name: Restore generated declaration files
291284
keys:
292285
# We assume that the target branch is `next` and that declaration files are persisted in commit order.
293286
# "If there are multiple matches, the most recently generated cache will be used."
294287
- typescript-declaration-files-next
295-
296288
- run:
297289
name: Diff declaration files
298290
command: |
@@ -301,7 +293,6 @@ jobs:
301293
git add -f packages/mui-utils/build || echo '/utils declarations do not exist'
302294
pnpm -r build:types
303295
git --no-pager diff
304-
305296
- run:
306297
name: Log defect declaration files
307298
command: |
@@ -431,7 +422,6 @@ jobs:
431422
root: packed
432423
paths:
433424
- '*'
434-
435425
test_bundling_node_cjs:
436426
<<: *default-job
437427
working_directory: /tmp/material-ui/test/bundling/fixtures/node-cjs/
@@ -591,7 +581,6 @@ jobs:
591581
- run:
592582
name: Test fixture
593583
command: pnpm start
594-
595584
test_bundle_size_monitor:
596585
<<: *default-job
597586
steps:
@@ -700,7 +689,6 @@ workflows:
700689
jobs:
701690
- test_e2e_website:
702691
<<: *default-context
703-
704692
bundling:
705693
when:
706694
equal: [bundling, << pipeline.parameters.workflow >>]
@@ -743,7 +731,6 @@ workflows:
743731
<<: *default-context
744732
requires:
745733
- test_bundling_prepare
746-
747734
profile:
748735
when:
749736
equal: [profile, << pipeline.parameters.workflow >>]

0 commit comments

Comments
 (0)