From ab3ac01ff3a8b5761cc35c0e3250016f64a1cdf1 Mon Sep 17 00:00:00 2001 From: Julien Dudek Date: Mon, 2 Nov 2020 11:10:08 +0100 Subject: [PATCH] fix : test --- .circleci/config.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0100490..0868b8d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ workflows: build_and_test: jobs: - build + - lint - test: requires: - build @@ -19,16 +20,9 @@ jobs: key: yarn-packages-{{ checksum "yarn.lock" }} paths: - ./node_modules - test: + lint: docker: - - image: cimg/node:14.10.1 + - image: "circleci/node:12" steps: - checkout - - restore_cache: - key: yarn-packages-{{ checksum "yarn.lock" }} - - run: yarn lint - - run: yarn test:ci - - save_cache: - key: yarn-packages-{{ checksum "yarn.lock" }} - paths: - - ./node_modules + - run: run: yayarn lint && yarn format:check