👷 Updated CicleCI config
This commit is contained in:
parent
8dbbd7ae05
commit
0aa9530a72
1 changed files with 4 additions and 18 deletions
|
@ -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'
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue