diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b8a577..517efef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,7 @@ workflows: jobs: - oldest-long-term-support-release - current-release + - audit-dependencies node-template: &node-template steps: @@ -17,10 +18,6 @@ node-template: &node-template environment: JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml" - run: npm run check-typescript - - run: | - if [[ $CIRCLE_JOB == current-release ]]; then - npm audit - fi - store_test_results: path: reports/junit - store_artifacts: @@ -38,3 +35,10 @@ jobs: docker: - image: circleci/node:latest - image: redis + + audit-dependencies: + docker: + - image: circleci/node:latest + steps: + - checkout + - run: npm audit