diff --git a/script.sh b/script.sh index d050f12..92e098c 100755 --- a/script.sh +++ b/script.sh @@ -14,7 +14,9 @@ echo '::endgroup::' npx --no-install -c 'eslint --version' if [ $? -ne 0 ]; then echo '::group:: Running `npm install` to install eslint ...' + set -e npm install + set +e echo '::endgroup::' fi