diff --git a/.circleci/config.yml b/.circleci/config.yml index 7d8c3cd..88374f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,10 +13,33 @@ jobs: paths: - ./node_modules key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - + lint: + docker: *docker + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn lint && yarn format:check + test: + docker: *docker + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn test:ci + + workflows: version : 2 build_wokflow: jobs: - - build \ No newline at end of file + - build + - lint: + requires: + - build + - test: + requires: + - build \ No newline at end of file