Fix sizebot mistakenly detecting deleted files (#22394)

This commit is contained in:
Andrew Clark
2021-09-21 18:55:47 -07:00
committed by GitHub
parent d56947eb2c
commit ba07042c86
+8
View File
@@ -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: