From 0520dd32cfa2772b98339830645f8aba4f86f7c9 Mon Sep 17 00:00:00 2001 From: Buzzertech Date: Sat, 22 Jun 2019 11:26:11 +0530 Subject: [PATCH] feat: add circleci config --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b85afcc --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2 +jobs: + test: + docker: + - image: circleci/node:10.15 + working_directory: ~/repo + steps: + - checkout + - restore_cache: + keys: + - yarn-packages-{{ checksum "yarn.lock" }} + - run: + name: Install dependencies + command: yarn install --frozen-lockfile + - save_cache: + name: Save Yarn Package Cache + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn + - run: yarn test +workflows: + version: 2 + test: + jobs: + - test