diff --git a/.circleci/config.yml b/.circleci/config.yml index 207593689..779d76a42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,9 @@ workflows: only: - /^Version-v(\d+)[.](\d+)[.](\d+)/ - prep-deps - - test-deps-audit + - test-deps-audit: + requires: + - prep-deps - test-deps-depcheck: requires: - prep-deps diff --git a/.circleci/scripts/yarn-audit.sh b/.circleci/scripts/yarn-audit.sh index 717b5f456..f24c86a07 100755 --- a/.circleci/scripts/yarn-audit.sh +++ b/.circleci/scripts/yarn-audit.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash +set -e set -u +set -x set -o pipefail # use `improved-yarn-audit` since that allows for exclude