machine:
  node:
    version: 8
  environment:
    PATH: ${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin

dependencies:
  cache_directories:
    - ~/.cache/yarn
  override:
    - yarn

test:
  pre:
    - yarn lint
  override:
    - yarn test

machine:
  node:
    version: 8
  environment:
    PATH: ${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin

dependencies:
  cache_directories:
    - ~/.cache/yarn
  override:
    - yarn
    - yarn run clean
    - yarn run build

test:
  pre:
    - yarn lint
  override:
    - yarn test

Clean and build the packages before testing
Clean and build the packages before testing
