diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b7e130c --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,39 @@ +# Javascript Node CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-javascript/ for more details +# +version: 2 +jobs: + build: + docker: + # specify the version you desire here + - image: circleci/node:8.9.4 + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/mongo:3.4.4 + + working_directory: ~/repo + + parallelism: 1 + + steps: + - checkout + + # - restore_cache: + # key: dependency-cache-{{ checksum "package.json" }} + + # - run: yarn install + # - run: yarn add codecov + - run: yarn add chalk + + + + # - save_cache: + # key: dependency-cache-{{ checksum "package.json" }} + # paths: + # - ./node_modules + # run tests! + - run: yarn test:rules + # - run: ./node_modules/.bin/codecov