diff --git a/.circleci/config.yml b/.circleci/config.yml index d556bfad..e3f9bdf5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,9 +5,18 @@ jobs: - image: circleci/node:latest steps: - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- - run: name: Install - command: npm install + command: yarn install + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} - run: name: Check Prettier, ESLint, Flow - command: npm run ci-check + command: yarn ci-check