From 3f883a7740fccdfe4b23929142f82f05e7df2923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20GAUTREAU?= Date: Mon, 2 Nov 2020 09:18:50 +0100 Subject: [PATCH] :bug: : fix cache error --- .circleci/config.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index df64e89..5107c15 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 jobs: - build: + yarn-build: docker: - image: cimg/node:14.10.1 # the primary container, where your job's commands are run auth: @@ -8,5 +8,10 @@ jobs: password: $DOCKERHUB_PASSWORD # context / project UI env-var reference steps: - checkout # check out the code in the project directory - - yarn global add node-gyp && yarn install - - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - npm_cache_key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + workflows: + version: 2 + yarn-build: + jobs: + - yarn-build \ No newline at end of file