1
0
Fork 0

👷 Adding CicleCI config

This commit is contained in:
Joost De Cock 2019-08-20 11:49:00 +02:00
parent 8e40da2ceb
commit b0063fdd35

View file

@ -1,8 +1,24 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:lts
steps:
- checkout
- run: npm install --global lerna && lerna bootstrap
version: 2.1
orbs:
node: circleci/node@1.1.4
jobs:
build:
docker:
- image: circleci/node:lts
steps:
- checkout
- 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'