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