1
0
Fork 0

👷 Updated CicleCI config

This commit is contained in:
Joost De Cock 2019-08-20 11:57:17 +02:00
parent 8dbbd7ae05
commit 0aa9530a72

View file

@ -1,24 +1,10 @@
version: 2.1 version: 2
orbs:
node: circleci/node@1.1.4
jobs: jobs:
build: build:
docker: docker:
- image: circleci/node:lts - image: circleci/node:lts
steps: steps:
- checkout - checkout
- run: - run: 'sudo npm install -g yarn@latest lerna@latest'
name: Update yarn & lerna - run: yarn install
command: 'sudo npm install -g yarn@latest lerna@latest' - run: lerna run build
- 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'