Fix sizebot mistakenly detecting deleted files (#22394)
Andrew Clark committed
Sep 21, 2021 at 21:55 UTC
ba07042c86b6e2e3dbbc930b2418d52c47ef7b47
1 file changed
+8
.circleci/config.yml
+8
@@ -120,6 +120,14 @@ jobs:
120
cd ./scripts/release && yarn && cd ../../
121
scripts/release/download-experimental-build.js --commit=$(git merge-base HEAD origin/main)
122
mv ./build ./base-build
123
+ - run:
124
+ # TODO: The `download-experimental-build` script copies the npm
125
+ # packages into the `node_modules` directory. This is a historical
126
+ # quirk of how the release script works. Let's pretend they
127
+ # don't exist.
128
+ name: Delete extraneous files
129
+ command: rm -rf ./base-build/node_modules
130
+
131
- persist_to_workspace:
132
root: .
133
paths: