From ba07042c86b6e2e3dbbc930b2418d52c47ef7b47 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Tue, 21 Sep 2021 21:55:47 -0400 Subject: [PATCH] Fix sizebot mistakenly detecting deleted files (#22394) --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a604e225fac4..168dcdeb74943 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,6 +120,14 @@ jobs: cd ./scripts/release && yarn && cd ../../ scripts/release/download-experimental-build.js --commit=$(git merge-base HEAD origin/main) mv ./build ./base-build + - run: + # TODO: The `download-experimental-build` script copies the npm + # packages into the `node_modules` directory. This is a historical + # quirk of how the release script works. Let's pretend they + # don't exist. + name: Delete extraneous files + command: rm -rf ./base-build/node_modules + - persist_to_workspace: root: . paths: