mirror of https://github.com/rancher/ui.git
More logging
This commit is contained in:
parent
93f922b92d
commit
0bf93b97fb
|
|
@ -23,15 +23,20 @@ if [[ "${UPLOAD_LATEST}" == "true" ]]; then
|
|||
docker pull google/cloud-sdk
|
||||
fi
|
||||
|
||||
echo "Cleaning Up.."
|
||||
rm -rf node_modules build dist tmp
|
||||
|
||||
echo "Bootstrapping.."
|
||||
./scripts/bootstrap
|
||||
|
||||
echo "Linting.."
|
||||
./node_modules/.bin/eslint --max-warnings 0 .
|
||||
|
||||
if [[ "${UPLOAD_LATEST}" == "true" ]] && [[ "${ENABLE_DOCKER}" == "true" ]]; then
|
||||
echo "Building & Uploading.."
|
||||
./scripts/build-static -l -u -v latest2
|
||||
# (build-static contains a call to test & build)
|
||||
else
|
||||
echo "Testing.."
|
||||
yarn test
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue