From 517f234f307a94515ce63d6952a59325b4876f1e Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Wed, 4 Nov 2020 23:35:58 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 213af0f..71ac1c8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,5 +7,18 @@ jobs: username: nicodrg password: Ndrg100394 # context / project UI env-var reference steps: - - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command + - checkout + - restore_cache: + name: Restore Yarn package cache + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: Install dependencies + command: yarn global add node-gyp && yarn install + - saving_cache: + name: Save Yarn package cache + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - ~/.cache.yarn + +