From 2c1df3330f0293f2d8e598240ecd51b0d5d325ef Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Tue, 3 Nov 2020 18:21:16 +0100 Subject: [PATCH] two jobs --- .circleci/config.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d7d726..ead6377 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,8 +48,21 @@ jobs: paths: - ./node_modules + lint: + docker: *docker + + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn lint && yarn format:check + workflows: version: 2 build-and-test: jobs: - - build \ No newline at end of file + - build + - lint: + requires: + - build \ No newline at end of file