Merge pull request #258 from betagouv/circleci-20-test

Adding auto-generated CircleCI 2.0 config file
pull/309/head
Johan Girod 2018-08-24 17:11:41 +02:00 committed by GitHub
commit 1ffb76cf6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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