From cf96f44612578c765ae48bf03290497560ae5601 Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Tue, 3 Nov 2020 18:26:34 +0100 Subject: [PATCH] . --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 17e7fd4..76432d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,17 +1,16 @@ version: 2.1 jobs: + build: docker: &shared_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 + - image: circleci/node:12 steps: - checkout # check out the code in the project directory - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install + lint: docker: *shared_docker steps: @@ -20,6 +19,7 @@ jobs: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install && yarn lint && yarn format:check + test: docker: *shared_docker steps: @@ -28,6 +28,8 @@ jobs: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install && yarn test:ci + + workflows: version: 2 build_test: