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

Commit 402c4be

Browse files
committed
ci: employ npm magic tricks 😅
- npm/cli#125 - npm/npm#20575
1 parent 7c7bc3f commit 402c4be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.circleci/config.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
steps:
3636
- checkout
3737
- <<: *restore_cache
38-
- run: npm ci && npx lerna bootstrap
38+
- run: npm ci --prefer-offline && npx lerna bootstrap
3939
- save_cache: # I hope they supprot globbing/wildcard pattern :cry:
4040
key: dependency-cache-{{ checksum "package-lock.json" }}
4141
paths:
42-
- /root/.npm
42+
- ~/.npm
4343
analysis:
4444
docker:
4545
- image: circleci/node:latest
@@ -52,7 +52,7 @@ jobs:
5252
command: npm run lint
5353
- run:
5454
name: Run Security Check.
55-
command: npx lerna exec --no-bail -- npm audit --quiet
55+
command: npx lerna exec --no-bail -- npm audit --quiet --audit-level high
5656
- run:
5757
name: Found security issue! Check if it's fixable or just have low severity.
5858
command: npx lerna exec --no-bail -- npm audit fix --quiet

0 commit comments

Comments
 (0)