diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-02 17:32:38 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-02 21:09:25 +0800 |
commit | 194a5de5641bdc994fcb653fe28d51ca172db03c (patch) | |
tree | 3bf3793205d131e14b75532459bf6fff364172ec | |
parent | cc7710abd2dfdfc4ac05d23883c0359561d43f4b (diff) | |
download | dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar.gz dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar.bz2 dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar.lz dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar.xz dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.tar.zst dexon-sol-tools-194a5de5641bdc994fcb653fe28d51ca172db03c.zip |
Cache all nested node_modules directories
-rw-r--r-- | .circleci/config.yml | 47 |
1 files changed, 42 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 05192c1d9..889b292a6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,10 +14,10 @@ jobs: - restore_cache: name: Restore Yarn Package Cache keys: - - yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} - - yarn-packages-v1-{{ .Branch }} - - yarn-packages-v1-master - - yarn-packages-v1- + - yarn-packages-v2-{{ .Branch }}-{{ checksum "yarn.lock" }} + - yarn-packages-v2-{{ .Branch }} + - yarn-packages-v2-master + - yarn-packages-v2- - run: name: install-yarn command: sudo npm install --global yarn@1.9.4 @@ -26,9 +26,46 @@ jobs: command: yarn --cache-folder ~/.cache/yarn --frozen-lockfile install || yarn --cache-folder ~/.cache/yarn --frozen-lockfile install - save_cache: name: Save Yarn Package Cache - key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} + key: yarn-packages-v2-{{ .Branch }}-{{ checksum "yarn.lock" }} paths: - ~/.cache/yarn + - node_modules + - packages/0x.js/node_modules + - packages/abi-gen/node_modules + - packages/assert/node_modules + - packages/asset-buyer/node_modules + - packages/base-contract/node_modules + - packages/connect/node_modules + - packages/contract-wrappers/node_modules + - packages/contract_templates/node_modules + - packages/contracts/node_modules + - packages/dev-utils/node_modules + - packages/devnet/node_modules + - packages/ethereum-types/node_modules + - packages/fill-scenarios/node_modules + - packages/json-schemas/node_modules + - packages/metacoin/node_modules + - packages/migrations/node_modules + - packages/monorepo-scripts/node_modules + - packages/order-utils/node_modules + - packages/order-watcher/node_modules + - packages/react-docs/node_modules + - packages/react-shared/node_modules + - packages/sol-compiler/node_modules + - packages/sol-cov/node_modules + - packages/sol-doc/node_modules + - packages/sol-resolver/node_modules + - packages/sra-report/node_modules + - packages/sra-spec/node_modules + - packages/subproviders/node_modules + - packages/testnet-faucets/node_modules + - packages/tslint-config/node_modules + - packages/types/node_modules + - packages/typescript-typings/node_modules + - packages/utils/node_modules + - packages/verdaccio/node_modules + - packages/web3-wrapper/node_modules + - packages/website/node_modules - save_cache: key: repo-deps-{{ .Environment.CIRCLE_SHA1 }} paths: |