From bc99728e84d8dee941eb3b64181cd71ec9c7a447 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 20 Apr 2020 21:18:16 +0800 Subject: [PATCH] ci/scripts/deps-install - exit if any command fails (#8368) --- .circleci/scripts/deps-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/scripts/deps-install.sh b/.circleci/scripts/deps-install.sh index 605eb8593..c8b15e29b 100755 --- a/.circleci/scripts/deps-install.sh +++ b/.circleci/scripts/deps-install.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash + +# Print commands and their arguments as they are executed. set -x +# Exit immediately if a command exits with a non-zero status. +set -e yarn --frozen-lockfile --ignore-scripts --har