nodejs:
  version:
    SPLIT:
      - 8
      - 7
      - 6

environment:
  'CI': 'true'

hooks:
  pre_setup: yarn install --ignore-engines --check-files --frozen-lockfile
  post_build: npm run codecov && npm run semantic-release

tests:
  - yarn run prepublishOnly

cache:
  key_paths:
    - package.json
    - yarn.lock  # to freeze packages installed by yarn
  save_paths:
    - REPO/node_modules  # Repo's "local" cache
    - HOME/.yarn         # Yarn's "global" cache

