From a75c0f305ed7e019954cafc9c7562bd72af0dd71 Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 11:26:20 +0100 Subject: [PATCH] requires --- .circleci/config.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d08ceb4..3ee393e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,23 +16,11 @@ jobs: lint: docker: *shared_docker steps: - - 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: - - 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: @@ -40,5 +28,9 @@ workflows: build_test: jobs: - build - - lint - - test + - lint: + requires: + - build + - test: + requires: + - build