From ff45b601596ee22b5e980a0ff08a090998b21d23 Mon Sep 17 00:00:00 2001 From: LecomteAdrien Date: Tue, 12 Jan 2021 17:22:48 +0100 Subject: [PATCH] :green_apple: Update config.yml yarn install --- .circleci/config.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd36c6b..66d9f01 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,18 @@ version: 2.1 -orbs: - node: circleci/node@3.0.0 +jobs: + yarn-install: + docker: + - image: cimg/node:12.18 + steps: + - checkout + - restore_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + paths: + - ./node_modules workflows: - node-tests: - jobs: - - node/test \ No newline at end of file + install: + jobs: + - yarn-install \ No newline at end of file