From e3a6a2a1a51a1d1110d2da9cbbd90e703cee7d4a Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Sun, 9 Jan 2022 18:18:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1314919..de9a7aa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ workflows: jobs: - build - test + - lint version: 2 jobs: build: @@ -29,4 +30,18 @@ jobs: - checkout # check out the code in the project directory - restore_cache: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - \ No newline at end of file + lint: + docker: + - image: cimg/node:14.15.0 # the primary container, where your job's commands are run + auth: + username: xaela37 + password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + steps: + - checkout # check out the code in the project directory + - restore_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: "step lint" + command: | + yarn lint + yarn format:check \ No newline at end of file