From 65253e114f5aeb2a801925a988ff301e5af956d2 Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Wed, 2 May 2018 11:05:39 -0700 Subject: Adds nsp check to CircleCI tests --- .circleci/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ed731225..88a611af3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,9 @@ workflows: - test-lint: requires: - prep-deps-npm + - test-deps: + requires: + - prep-deps-npm - test-e2e: requires: - prep-deps-npm @@ -43,6 +46,7 @@ workflows: - all-tests-pass: requires: - test-lint + - test-deps - test-unit - test-e2e - test-integration-mascara-chrome @@ -145,6 +149,17 @@ jobs: name: Test command: npm run lint + test-deps: + docker: + - image: circleci/node:8-browsers + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ .Revision }} + - run: + name: Test + command: npx nsp check + test-e2e: docker: - image: circleci/node:8-browsers -- cgit