From 59ecd167dde9885299fbdac63418980ba6fbaef3 Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 11:36:27 +0100 Subject: [PATCH] fix --- .circleci/config.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3d5bd82..d08ceb4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,27 +16,29 @@ jobs: lint: docker: *shared_docker steps: - - run: yarn lint && yarn format:check + - checkout # check out the code in the project directory + - run: yarn global add node-gyp && yarn install - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn lint && yarn format:check + test: docker: *shared_docker steps: - - run: yarn test:ci + - checkout # check out the code in the project directory + - run: yarn global add node-gyp && yarn install - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn test:ci + workflows: version: 2 build_test: jobs: - build - - lint: - requires: - - build - - test: - requires: - - build + - lint + - test