From 274c73a19afb97a910cc47e2ab81ca6ae7a80633 Mon Sep 17 00:00:00 2001 From: sipe-daniel Date: Thu, 5 Nov 2020 16:09:07 +0100 Subject: [PATCH] fix(config.yml): ERROR IN CONFIG FILE schema violations found --- .circleci/config.yml | 61 +++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d9d092e..bff8af9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,12 @@ workflows: build_and_test: jobs: - build - + - lint: + requires: + - build + - test: + requires: + - build jobs: build: docker: @@ -16,38 +21,36 @@ jobs: command: yarn global add node-gyp && yarn install - restore_cache: name: Restore Yarn Package Cache - key: - - npm-v1-dependencies-{{ checksum "yarn.lock" }} + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: name: Install Dependencies command: yarn install --immutable - save_cache: name: Save Yarn Package Cache - key: - - npm-v1-dependencies-{{ checksum "yarn.lock" }} + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} paths: - ~/.cache/yarn - lint: - docker: - - image: cimg/node:12.18 - steps: - - checkout - - restore_cache: - name: Restore Yarn Package Cache - key: - - npm-v1-dependencies-{{ checksum "yarn.lock" }} - - run: - name: "Lint Code" - command: yarn lint && yarn format:check - test: - docker: - - image: cimg/node:12.18 - steps: - - checkout - - restore_cache: - name: Restore Yarn Package Cache - key: - - npm-v1-dependencies-{{ checksum "yarn.lock" }} - - run: - name: "Unit Test" - command: yarn test:ci \ No newline at end of file + lint: + docker: + - image: cimg/node:12.18 + steps: + - checkout + - restore_cache: + name: Restore Yarn Package Cache + key: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: "Lint Code" + command: yarn lint && yarn format:check + test: + docker: + - image: cimg/node:12.18 + steps: + - checkout + - restore_cache: + name: Restore Yarn Package Cache + key: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: "Unit Test" + command: yarn test:ci \ No newline at end of file