From c530778e3f1542c793778fa3fe4256e8edf4fa73 Mon Sep 17 00:00:00 2001 From: sipe-daniel Date: Thu, 5 Nov 2020 15:27:35 +0100 Subject: [PATCH] feat(config.yml): Install step I installed the dependencies(Yarn) --- .circleci/config.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 489411b..9555305 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,5 +9,19 @@ jobs: docker: - image: cimg/node:14.10.1 # the primary container, where your job's commands are run steps: - - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command \ No newline at end of file + - checkout + - run: + name: Install dependencies + command: yarn global add node-gyp && yarn install + - restore_cache: + name: Restore Yarn Package Cache + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: Install Dependencies + command: yarn install --immutable + - save_cache: + name: Save Yarn Package Cache + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn \ No newline at end of file