diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2019-06-07 06:00:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 06:00:27 +0800 |
commit | 3dc7e29a51a52f18ecbd48f03ac26e5e899910f8 (patch) | |
tree | 0586f385580003c548d5695d666ac03cc7db0586 /.circleci/scripts/npm-audit | |
parent | b27fdef5e47c48e18f2c2b2961b28153d8f68486 (diff) | |
parent | ea142a4dd65c45694f663885d509aae147430f97 (diff) | |
download | tangerine-wallet-browser-3dc7e29a51a52f18ecbd48f03ac26e5e899910f8.tar.gz tangerine-wallet-browser-3dc7e29a51a52f18ecbd48f03ac26e5e899910f8.tar.zst tangerine-wallet-browser-3dc7e29a51a52f18ecbd48f03ac26e5e899910f8.zip |
Merge pull request #6690 from MetaMask/npm-audit
Re-enable npm audit CI job
Diffstat (limited to '.circleci/scripts/npm-audit')
-rwxr-xr-x | .circleci/scripts/npm-audit | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.circleci/scripts/npm-audit b/.circleci/scripts/npm-audit new file mode 100755 index 000000000..00a6876ff --- /dev/null +++ b/.circleci/scripts/npm-audit @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e +set -u +set -o pipefail + +if ! npm audit +then + ! npm audit --json > audit.json + printf '%s\n' '' + node .circleci/scripts/npm-audit-check.js +fi |