From 012873c9ac7cdf76e311e19c49adc43212033fa7 Mon Sep 17 00:00:00 2001 From: pimlie Date: Sat, 9 Mar 2019 20:05:42 +0100 Subject: [PATCH] chore: add audit to ci --- .circleci/config.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8999084..df16198 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,16 @@ jobs: name: Lint command: yarn lint + audit: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: ~/project + - run: + name: Security Audit + command: yarn audit + test-unit: <<: *defaults steps: @@ -72,6 +82,7 @@ workflows: commit: jobs: - setup - - lint: { requires: [setup] } - - test-unit: { requires: [lint] } - - test-e2e: { requires: [lint] } + - lint: { requires: [setup] } + - audit: { requires: [setup] } + - test-unit: { requires: [lint] } + - test-e2e: { requires: [lint] }