From 4357a77d247c30d52007131f5ce90001fe7068bb Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Sun, 17 Jan 2021 12:40:29 +0100 Subject: [PATCH] :construction_worker: added npm install and cache in build job --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48b2efe..1d15bbf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,15 @@ jobs: - image: circleci/node:dubnium-browsers steps: - checkout + - restore_cache: + keys: + - dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} + - dependencies- + - run: npm install + - save_cache: + paths: + - node_modules + key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} workflows: build_deploy_netlify: