Skip to content

Commit

Permalink
CircleCI integration (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
lujjjh authored May 15, 2019
1 parent 25874e3 commit 2322b99
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:10
steps:
- checkout
- run:
name: install-dep
command: npm i
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run:
name: lint
command: npm run lint
- run:
name: test
command: npm t
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# restc
<p align="center">
<img src="/docs/images/logo.svg" alt="restc" width="150" height="150">
</p>

[中文文档](https://elemefe.github.io/restc/intro/)
<p align="center">
<img src="https://img.shields.io/circleci/project/github/ElemeFE/restc.svg" alt="CircleCI (all branches)">
</p>

<p align="center">
<a href="https://elemefe.github.io/restc/intro/">中文文档</a>
</p>

## Introduction

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"index.d.ts"
],
"scripts": {
"lint": "eslint --fix .",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"test": "ava"
},
"faas": {
Expand Down

0 comments on commit 2322b99

Please sign in to comment.