chore: cloud build test 13

This commit is contained in:
kangwei 2020-03-29 15:26:22 +08:00
parent 548741e079
commit 3f410cfe83

View File

@ -5,10 +5,10 @@ BUILD_DEST=$1
echo "Deploy ${PWD} -> ${BUILD_DEST} ..." echo "Deploy ${PWD} -> ${BUILD_DEST} ..."
cd deploy-space
# basic environment preparing # basic environment preparing
tnpm install yarn --install-node=10 tnpm install yarn lerna --install-node=10
tnpm install -g lerna export PATH=$WORK_DIR/deploy-space/node_modules/.bin:$PATH
export PATH=$PWD/node_modules/.bin:$PATH
echo "" echo ""
echo "Use node version:" echo "Use node version:"
@ -18,8 +18,7 @@ echo ""
# set source # set source
yarn config set registry https://registry.npm.alibaba-inc.com yarn config set registry https://registry.npm.alibaba-inc.com
# goto workdir # work
cd deploy-space
mkdir packages mkdir packages
ln -s $WORK_DIR/packages/demo packages/demo ln -s $WORK_DIR/packages/demo packages/demo
ln -s $WORK_DIR/packages/react-simulator-renderer packages/react-simulator-renderer ln -s $WORK_DIR/packages/react-simulator-renderer packages/react-simulator-renderer