From fabc2fa31c9b88359654ef53d0cd4652f0f3dab8 Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 10:07:42 +0100 Subject: [PATCH] share config --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3dd486b..5630ffc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,14 @@ version: 2.1 jobs: - build: + cache: $shared-config docker: - image: cimg/node:14.10.1 # the primary container, where your job's commands are run auth: username: mydockerhub-user password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + build: + check-format: + <<: *shared-config steps: - checkout # check out the code in the project directory - run: yarn global add node-gyp && yarn install