Skip to content

Commit ba07042

Browse files
authored
Fix sizebot mistakenly detecting deleted files (#22394)
1 parent d56947e commit ba07042

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ jobs:
120120
cd ./scripts/release && yarn && cd ../../
121121
scripts/release/download-experimental-build.js --commit=$(git merge-base HEAD origin/main)
122122
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+
123131
- persist_to_workspace:
124132
root: .
125133
paths:

0 commit comments

Comments
 (0)