diff --git a/scripts/ci b/scripts/ci index 318b43efb..5e94a357c 100755 --- a/scripts/ci +++ b/scripts/ci @@ -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