From 37e874f236b9f21cb9b4f8acf898557f47a9522f Mon Sep 17 00:00:00 2001 From: NicolasLepinette <55684429+NicolasLepinette@users.noreply.github.com> Date: Mon, 2 Nov 2020 11:42:00 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 652738f..6684f84 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,12 +5,14 @@ jobs: - image: cimg/node:14.10.1 # the primary container, where your job's commands are run steps: - checkout + - restore_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp - run: yarn install - run: yarn lint - run: yarn format:check - run: yarn test:ci - save_cache: - key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + key: yarn-packages-{{ checksum "yarn.lock" }} paths: - ./node_modules