Circleci - cache node_modules

pull/1/head
yann300 7 years ago committed by GitHub
parent 4864d9cb94
commit 516174c6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .circleci/config.yml

@ -24,7 +24,14 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache:
keys:
- dep-bundle-{{ checksum "package.json" }}
- run: npm install - 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: 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: ./ci/browser_tests.sh
# - run: if [ $CIRCLE_BRANCH = 'master' ]; then ./ci/deploy_from_travis_master.sh; fi # - run: if [ $CIRCLE_BRANCH = 'master' ]; then ./ci/deploy_from_travis_master.sh; fi

Loading…
Cancel
Save