any-rule/.circleci/config.yml

44 lines
1.1 KiB
YAML

# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
filters:
branches:
ignore:
- gh-pages
docker:
# specify the version you desire here
- image: circleci/node:12.14.1
# 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@2.4.2
# - save_cache:
# key: dependency-cache-{{ checksum "package.json" }}
# paths:
# - ./node_modules
# run tests!
- run: yarn test:rules
# - run: ./node_modules/.bin/codecov