mon-entreprise/circle.yml

27 lines
678 B
YAML
Raw Normal View History

2018-08-24 14:35:42 +00:00
version: 2
jobs:
build:
working_directory: ~/mern-starter
docker:
- image: circleci/node:8.10.0
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
2018-08-24 14:35:42 +00:00
- run:
name: Install Dependencies
command: yarn install
2018-08-24 14:35:42 +00:00
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
2018-08-24 14:35:42 +00:00
paths:
- ~/.cache/yarn
- run:
name: Install flow-typed
command: yarn run flow-typed install
2018-08-24 14:35:42 +00:00
- run:
name: test
command: yarn test