diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..028250472 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/node:12 + steps: + - checkout + - restore_cache: + keys: + - dependencies-{{ checksum "yarn.lock" }} + - run: + name: Install + command: yarn install --pure-lockfile + - save_cache: + paths: + - node_modules + key: dependencies-{{ checksum "yarn.lock" }} + - run: + name: Check Prettier, ESLint, Flow + command: yarn ci-check