From 3e47aeb1e63629c6aaaa67b72d64c40b0446b6b4 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sun, 6 Jan 2019 13:47:50 +0000 Subject: [PATCH] Initial circleci config --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..a055134 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,30 @@ +version: 2 +jobs: + build: + working_directory: ~/grasp + docker: + - image: circleci/node:latest + steps: + - checkout + - run: sudo npm install -g npm + - restore_cache: + key: dependency-cache-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: + - ./node_modules + - run: + name: build + command: npm run build + - run: + name: flow + command: npm run flow + # - store_artifacts: + # path: test-results.xml + # prefix: tests + # - store_artifacts: + # path: coverage + # prefix: coverage + # - store_test_results: + # path: test-results.xml