From 2abeec14f39fb58a2404cd24f5b574b63ca8d55d Mon Sep 17 00:00:00 2001 From: kflash Date: Mon, 25 Sep 2017 10:13:17 +0800 Subject: [PATCH] added circleci.yml --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..633c4c792 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2 +jobs: + build: + working_directory: ~/working_directory + docker: + - image: node:6 + environment: + NO_WATCH_TESTS: 1 + steps: + - checkout + - run: node --version + - run: npm --version + - restore_cache: + key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }} + paths: + - ./node_modules + - run: npm run circleci \ No newline at end of file