From 4507d3c8173f420e5dce43e9bec3877d8a987a74 Mon Sep 17 00:00:00 2001 From: Vince Martinez Date: Mon, 11 Dec 2017 17:08:24 +0000 Subject: [PATCH] Add circleci cache --- .circleci/config.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b56068..5225890 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,18 +15,18 @@ jobs: - checkout # Download and cache dependencies - # - restore_cache: - # keys: - # - v1-dependencies-{{ checksum "package-lock.json" }} - # # fallback to using the latest cache if no exact match is found - # - v1-dependencies- + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package-lock.json" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- - run: npm install - # - save_cache: - # paths: - # - node_modules - # key: v1-dependencies-{{ checksum "package-lock.json" }} + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package-lock.json" }} - run: npm run ci:test - run: npm run ci:coveralls