diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..142c66d4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,21 @@ +version: 2 +jobs: + build: + working_directory: ~/react-image-magnify + branches: + ignore: + - gh-pages + docker: + - image: circleci/node:10.9.0 + steps: + - checkout + - run: + name: install-npm + command: npm install + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: + - ./node_modules + - run: + name: test + command: npm run test-ci diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 1cd3c800..00000000 --- a/circle.yml +++ /dev/null @@ -1,9 +0,0 @@ -machine: - node: - version: v6.1.0 - environment: - PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" - -test: - override: - - npm run test-ci