Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
ci: employ npm magic tricks πŸ˜…
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSensor committed Jan 30, 2019
1 parent 7c7bc3f commit 402c4be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
steps:
- checkout
- <<: *restore_cache
- run: npm ci && npx lerna bootstrap
- run: npm ci --prefer-offline && npx lerna bootstrap
- save_cache: # I hope they supprot globbing/wildcard pattern :cry:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- /root/.npm
- ~/.npm
analysis:
docker:
- image: circleci/node:latest
Expand All @@ -52,7 +52,7 @@ jobs:
command: npm run lint
- run:
name: Run Security Check.
command: npx lerna exec --no-bail -- npm audit --quiet
command: npx lerna exec --no-bail -- npm audit --quiet --audit-level high
- run:
name: Found security issue! Check if it's fixable or just have low severity.
command: npx lerna exec --no-bail -- npm audit fix --quiet
Expand Down

0 comments on commit 402c4be

Please sign in to comment.