Use circleci 2
This commit is contained in:
parent
3901675c78
commit
d7630ee20d
2 changed files with 15 additions and 11 deletions
15
.circleci/config.yml
Normal file
15
.circleci/config.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
version: 2.0
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:6.10
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: npm install
|
||||||
|
- run:
|
||||||
|
name: Build
|
||||||
|
command: npm run build
|
||||||
|
|
11
circle.yml
11
circle.yml
|
@ -1,11 +0,0 @@
|
||||||
machine:
|
|
||||||
node:
|
|
||||||
version: 6.10.2
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
pre:
|
|
||||||
- npm install
|
|
||||||
|
|
||||||
test:
|
|
||||||
pre:
|
|
||||||
- npm run build
|
|
Reference in a new issue