Skip to content

Commit 75cbb16

Browse files
authored
build: disable copying the minified umd bundles (#22522)
We used to copy the minified UMD bundles so that their size could be checked by the size bot. Since we haven't been running the bot for a long time, these changes remove the copying logic.
1 parent 1def768 commit 75cbb16

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.circleci/config.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -410,28 +410,6 @@ jobs:
410410
root: dist
411411
paths:
412412
- "releases/**/*"
413-
414-
# Since there is no UMD bundle that includes everything from the CDK, we need to move
415-
# all bundles into a directory. This allows us to store all CDK UMD bundles as job
416-
# artifacts that can be picked up by the Angular Github bot.
417-
- run:
418-
name: Prepare CDK artifacts for publish.
419-
command: |
420-
mkdir -p /tmp/cdk-umd-minified-bundles
421-
cp dist/releases/cdk/bundles/*.umd.js /tmp/cdk-umd-minified-bundles
422-
# Publish bundle artifacts which will be used to calculate the size change.
423-
# Note: Make sure that the size plugin from the Angular robot fetches the artifacts
424-
# from this CircleCI job (see .github/angular-robot.yml). Additionally any artifacts need to
425-
# be stored with the following path format: "{projectName}/{context}/{fileName}"
426-
# This format is necessary because otherwise the bot is not able to pick up the
427-
# artifacts from CircleCI. See:
428-
# https://github.com/angular/github-robot/blob/master/functions/src/plugins/size.ts#L392-L394
429-
- store_artifacts:
430-
path: dist/releases/material/bundles/material.umd.js
431-
destination: /angular_material/material_release_output/material.umd.js
432-
- store_artifacts:
433-
path: /tmp/cdk-umd-minified-bundles
434-
destination: /angular_material/cdk_release_output/
435413
- *slack_notify_on_failure
436414

437415
upload_release_packages:

0 commit comments

Comments
 (0)