From df54a6edffc2e064d80609dee86b4ead1c66a5e5 Mon Sep 17 00:00:00 2001 From: ali Date: Tue, 19 Feb 2019 10:42:45 +0700 Subject: [PATCH] test circleci cache --- .circleci/config.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c4561f5..a03e789 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,5 +13,15 @@ jobs: steps: - checkout - - run: npm install - - run: npm test + - restore_cache: + key: dependency-cache-{{ checksum "package.json" }} + - run: + name: npm-install + command: npm install + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: + - ./node_modules + - run: + name: test + command: npm test