From 2d83ee4af678120cf4189b9eddcc27d61179e330 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 5 Nov 2020 18:37:32 +0100 Subject: [PATCH] install step 3 --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 32095eb..7c8be3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,5 +4,12 @@ jobs: docker: &docker - image: circleci/node:12 steps: - - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + paths: + - ./node_modules + key: npm-v1-dependencies-{{ checksum "yarn.lock" }}