💚 circle-ci 2.0

pull/258/head
Johan Girod 2018-08-24 16:35:42 +02:00
parent 568bde3651
commit f536b9aa61
1 changed files with 26 additions and 7 deletions

View File

@ -1,7 +1,26 @@
machine:
node:
version: 8.10.0
dependencies:
override:
- yarn install --dev
- yarn run flow-typed install
version: 2
jobs:
build:
working_directory: ~/mern-starter
docker:
- image: circleci/node:8.10.0
steps:
- checkout
- run:
name: install-yarn
command: 'sudo npm install -g yarn'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-yarn-wee
command: yarn
- run:
name: install-flow-typed-wee
command: yarn run flow-typed install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test