Install yarn modules required for prepare-release script

Summary: Install yarn modules required for release script

Reviewed By: mweststrate

Differential Revision: D20773606

fbshipit-source-id: 97ceda05e2d75229335bb77c7cef6dd328167283
This commit is contained in:
Anton Nikolaev
2020-03-31 13:36:25 -07:00
committed by Facebook GitHub Bot
parent 2a27b47752
commit 3bdfea387b

View File

@@ -54,6 +54,10 @@ OLD_VERSION="${OLD_VERSION_POD_ARG##* }"
source "$DIR"/setup-env.sh source "$DIR"/setup-env.sh
if [[ ! -d "$DESKTOP_DIR/node_modules" ]]; then
yarn --cwd "$DESKTOP_DIR" install --ignore-scripts --ignore-engines
fi
# if we got called with a rev argument, we got triggered from our automatic sandcastle job # if we got called with a rev argument, we got triggered from our automatic sandcastle job
if [ "$SANDCASTLE_REVISION" != "" ]; if [ "$SANDCASTLE_REVISION" != "" ];
then then