From 289da8cb33147c1b25fe485599217bbe1c4d53b6 Mon Sep 17 00:00:00 2001 From: Thaisrr <46489998+Thaisrr@users.noreply.github.com> Date: Mon, 2 Nov 2020 10:34:54 +0100 Subject: [PATCH] Installation --- .circleci/config.yml | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f99bf49..242a6ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,25 @@ version: 2.1 +workflows: + workflow: + jobs: + - hello + - install jobs: - build: - 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: yarn global add node-gyp && yarn install + hello: + docker: + - image: cimg/node:14.10.1 + steps: + - checkout + - run: echo "Hello World !" + install: + docker: + - image: cimg/node:14.10.1 + steps: + - checkout + - restore_cache: + key: yarn-package-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-package-{{ checksum "yarn.lock" }} + path: + - ./node_modules