diff --git a/.circleci/config.yml b/.circleci/config.yml index fb00d27..4ec67da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,9 +22,28 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn run test + check:format : + docker: + - image: node:10.18.0 + working_directory: ~/repo + + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + - v1-dependencies- + + - run: yarn install + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} + - run: yarn format:write && yarn format:check workflows: project_workflows: jobs: - - test \ No newline at end of file + - test + - check:format \ No newline at end of file