👷 Adding CicleCI config
This commit is contained in:
parent
8e40da2ceb
commit
b0063fdd35
1 changed files with 24 additions and 8 deletions
|
@ -1,8 +1,24 @@
|
||||||
version: 2
|
version: 2.1
|
||||||
jobs:
|
orbs:
|
||||||
|
node: circleci/node@1.1.4
|
||||||
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:lts
|
- image: circleci/node:lts
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: npm install --global lerna && lerna bootstrap
|
- run:
|
||||||
|
name: Update yarn & lerna
|
||||||
|
command: 'sudo npm install -g yarn@latest lerna@latest'
|
||||||
|
- restore_cache:
|
||||||
|
key: dependency-cache-{{ checksum "package.json" }}
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: yarn install
|
||||||
|
- save_cache:
|
||||||
|
key: dependency-cache-{{ checksum "package.json" }}
|
||||||
|
paths:
|
||||||
|
- node_modules
|
||||||
|
- build:
|
||||||
|
name: Build packages
|
||||||
|
command: 'lerna run build'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue