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

Commit

Permalink
ci: fix npm ci and cleanup pkg.scripts 🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSensor committed Jan 29, 2019
1 parent 1a4198b commit 96e04c9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12,945 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

restore_cache: &restore_cache
restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ checksum "package.json" }}

manage_dependencies: &manage_dependencies
run:
Expand Down Expand Up @@ -35,11 +35,14 @@ jobs:
steps:
- checkout
- <<: *restore_cache
- <<: *manage_dependencies
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run: npm install --no-optional && npx lerna bootstrap
- save_cache: # I hope they supprot globbing/wildcard pattern :cry:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./package-lock.json
- ./node_modules
- ./packages/cli/node_modules
- ./packages/library/node_modules
- /root/.npm
analysis:
docker:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
!/packages/*
!/packages/cli/bin
/packages-lock.json
*-debug.log
*-error.log
/.nyc_output
Expand Down
Loading

0 comments on commit 96e04c9

Please sign in to comment.