circleCI
This commit is contained in:
Родитель
741b09ddc8
Коммит
fc75a12f0b
|
@ -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"
|
||||
}
|
||||
},
|
||||
}
|
Загрузка…
Ссылка в новой задаче