From 516174c6adb106c8c47aec8ed103502ba3a4a8c7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 15 Feb 2018 11:16:03 +0100 Subject: [PATCH] Circleci - cache node_modules --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 179f798f29..a3d6016f06 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,14 @@ jobs: steps: - checkout + - restore_cache: + keys: + - dep-bundle-{{ checksum "package.json" }} - run: npm install + - save_cache: + key: dep-bundle-{{ checksum "package.json" }} + paths: + - /repo/node-modules - run: npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run setupremix && npm run build - run: ./ci/browser_tests.sh # - run: if [ $CIRCLE_BRANCH = 'master' ]; then ./ci/deploy_from_travis_master.sh; fi