From dccd52e98a5ec6455e8790abd731d3136807ef0f Mon Sep 17 00:00:00 2001 From: kangwei Date: Sun, 29 Mar 2020 15:04:32 +0800 Subject: [PATCH] chore: cloud build test 10 --- scripts/deploy.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index f67d9c78b..8f9e58c79 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -5,8 +5,15 @@ BUILD_DEST=$1 echo "Deploy ${PWD} -> ${BUILD_DEST} ..." -tnpm install -g yarn lerna +# basic environment preparing +tnpm install yarn lerna --install-node=10 +export PATH=$PWD/node_modules/.bin:$PATH +node -v + +# set source yarn config set registry https://registry.npm.alibaba-inc.com + +# goto workdir cd deploy-space mkdir packages ln -s $WORK_DIR/packages/demo packages/demo