This commit is contained in:
Alex Bettadapur 2018-10-17 14:27:48 -07:00
Родитель 741b09ddc8
Коммит fc75a12f0b
2 изменённых файлов: 33 добавлений и 1 удалений

27
.circleci/config.yml Normal file
Просмотреть файл

@ -0,0 +1,27 @@
# 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:7.10
# 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
steps:
- checkout
- run: npm install
- run: npm run bootstrap
# run tests!
- run: npm run test

Просмотреть файл

@ -1,7 +1,12 @@
{
"name": "root",
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build:prod",
"test": "npm run build && lerna run test"
},
"devDependencies": {
"lerna": "^3.4.0"
}
},
}