dist: xenial

language: node_js

node_js:
  - "lts/*"

cache:
  yarn: true

services:
  - xvfb

script:
  - yarn lint
  - yarn flow
  - yarn test --coverage
  - yarn build:prod
  - yarn build:dist --publish "never"
  - yarn test-e2e
  - yarn codecov

branches:
  except:
  - experimental
dist: xenial

env:
  - NODE_ENV=production

language: node_js

node_js:
  - "lts/*"

cache:
  yarn: true

services:
  - xvfb

script:
  - yarn lint
  - yarn flow
  - yarn test --coverage
  - yarn build:prod
  - yarn build:dist --publish "never"
  - yarn test-e2e
  - yarn codecov

branches:
  except:
  - experimental
Set NODE_ENV to production for CI
Set NODE_ENV to production for CI
