mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
test: 增加ci脚本
This commit is contained in:
parent
1b1c16c129
commit
75d8e2fad6
39
.circleci/config.yml
Normal file
39
.circleci/config.yml
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user