Merge pull request #258 from betagouv/circleci-20-test
Adding auto-generated CircleCI 2.0 config filepull/309/head
commit
1ffb76cf6d
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