👷 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
|
||||
orbs:
|
||||
node: circleci/node@1.1.4
|
||||
version: 2
|
||||
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'
|
||||
- run: 'sudo npm install -g yarn@latest lerna@latest'
|
||||
- run: yarn install
|
||||
- run: lerna run build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue