From 57448f5c06a1e4f33dcf30f522d6387212874f9c Mon Sep 17 00:00:00 2001 From: Johann Date: Mon, 2 Nov 2020 09:59:36 +0100 Subject: [PATCH] Ajout de l'etape yarn1 --- .circleci/config.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b934dc..613784f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ workflows: workflow1: jobs: - hello1 + - yarn1 jobs: hello1: docker: @@ -13,4 +14,17 @@ jobs: - run: command: "echo ok" - name: "Hello World" \ No newline at end of file + name: "Hello World" + yarn1: + docker: + - + image: "circleci/node:12" + steps: + - checkout + - restore_cache: + key: yarn-v1-packages-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-v1-packages-{{ checksum "yarn.lock" }} + paths: + - ./node_modules \ No newline at end of file