From 3f410cfe83c2c3744107b489a665a4fce6085f13 Mon Sep 17 00:00:00 2001 From: kangwei Date: Sun, 29 Mar 2020 15:26:22 +0800 Subject: [PATCH] chore: cloud build test 13 --- scripts/deploy.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 6127e4c22..7c5dca23b 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -5,10 +5,10 @@ BUILD_DEST=$1 echo "Deploy ${PWD} -> ${BUILD_DEST} ..." +cd deploy-space # basic environment preparing -tnpm install yarn --install-node=10 -tnpm install -g lerna -export PATH=$PWD/node_modules/.bin:$PATH +tnpm install yarn lerna --install-node=10 +export PATH=$WORK_DIR/deploy-space/node_modules/.bin:$PATH echo "" echo "Use node version:" @@ -18,8 +18,7 @@ echo "" # set source yarn config set registry https://registry.npm.alibaba-inc.com -# goto workdir -cd deploy-space +# work mkdir packages ln -s $WORK_DIR/packages/demo packages/demo ln -s $WORK_DIR/packages/react-simulator-renderer packages/react-simulator-renderer