diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..16c83a61 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,22 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/node:latest + steps: + - checkout + - restore_cache: + keys: + - dependencies-{{ checksum "package.json" }} + # fallback to using the latest cache if no exact match is found + - dependencies- + - run: + name: Install + command: yarn install + - save_cache: + paths: + - node_modules + key: dependencies-{{ checksum "package.json" }} + - run: + name: Check Prettier, ESLint, Flow + command: yarn ci-check