From c7bfc470066693f906098b681c50f4f632a89986 Mon Sep 17 00:00:00 2001 From: Mike Cooper Date: Mon, 23 Apr 2018 12:33:13 -0700 Subject: [PATCH 1/2] circle config --- .circleci/config.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..7a27165 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,37 @@ +version: 2 + +jobs: + build_test: + docker: + - image: circleci/node:9 + + steps: + - checkout + + - restore_cache: + keys: + - yarn-cache-{{ checksum "yarn.lock" }} + - yarn-cache- + + - run: + name: Yarn Install + command: yarn install --cache-folder ~/.cache/yarn + + - save_cache: + key: yarn-cache-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn + + - run: + name: Build + command: yarn build + + - run: + name: Test + command: yarn test + +workflows: + version: 2 + pr: + jobs: + - build_test From 4964d5f04947a87e7560aaf3e6ab0a9f08515da4 Mon Sep 17 00:00:00 2001 From: Mike Cooper Date: Mon, 23 Apr 2018 12:47:14 -0700 Subject: [PATCH 2/2] bors --- bors.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bors.toml diff --git a/bors.toml b/bors.toml new file mode 100644 index 0000000..1e22e68 --- /dev/null +++ b/bors.toml @@ -0,0 +1,3 @@ +status = [ + "ci/circleci: build_test", +]