From 75d8e2fad61599b4a73f5758ae8a09be7ddfe91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=81=E5=AE=81?= <383514580@qq.com> Date: Thu, 8 Aug 2019 09:02:00 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=8A=A0ci=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .circleci/config.yml 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