💚 circle-ci 2.0
parent
568bde3651
commit
f536b9aa61
33
circle.yml
33
circle.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue