More logging

This commit is contained in:
Vincent Fiduccia 2018-07-20 11:50:57 -07:00
parent 93f922b92d
commit 0bf93b97fb
No known key found for this signature in database
GPG Key ID: 2B29AD6BB2BB2582
1 changed files with 5 additions and 0 deletions

View File

@ -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