From df9f865c752cb38cf05c2339ca26a1dacd97d8fe Mon Sep 17 00:00:00 2001 From: tsuyoshiwada Date: Sun, 14 Jan 2018 02:41:32 +0900 Subject: [PATCH] Setup Circle CI --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..ab750a4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2 +jobs: + build: + docker: + - image: regviz/node-xcb + + working_directory: ~/repo + + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} + - v1-dependencies- + + - run: yarn + + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} + + - run: yarn screenshot + - run: yarn regression