Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
move audit step to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Apr 1, 2019
1 parent d07fce4 commit 3b103ec
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ workflows:
jobs:
- oldest-long-term-support-release
- current-release
- audit-dependencies

node-template: &node-template
steps:
Expand All @@ -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:
Expand All @@ -38,3 +35,10 @@ jobs:
docker:
- image: circleci/node:latest
- image: redis

audit-dependencies:
docker:
- image: circleci/node:latest
steps:
- checkout
- run: npm audit

0 comments on commit 3b103ec

Please sign in to comment.