language: node_js
node_js:
  - "12"

dist: trusty
sudo: false

cache:
  directories:
    - node_modules

addons:
  chrome: stable

script:
  - npm run lint
  - npm run lintbe
  - npm run linthtml
  - npm run lintscss
  - npm run test
#  - npm run testbe
#  - npm run build
#  - xvfb-run npm run e2e

language: node_js
node_js:
  - "12"

dist: trusty
sudo: false

cache:
  directories:
    - node_modules

addons:
  chrome: stable

script:
  - npm run lint
  - npm run lintbe
  - npm run linthtml
  - npm run lintscss
  - npm run test -- --watch=false --browsers=ChromeHeadless
#  - npm run testbe
#  - npm run build
#  - xvfb-run npm run e2e

Add flags to headless chrome
Add flags to headless chrome
