language: node_js matrix: include: - node_js: "10" env: RUN_RECIPES=1 dist: trusty cache: yarn: true directories: - node_modules install: # if our e2e tests fail in the future it might be that we are not compatible # with the latest puppeteer api so we probably need to run on chromimum # @see https://github.com/GoogleChrome/lighthouse/pull/4640/files#r171425004 - export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 - yarn before_script: - export DISPLAY=:99.0 # see comment above about puppeteer - export CHROME_PATH="$(which google-chrome-stable)" - sh -e /etc/init.d/xvfb start - yarn build addons: chrome: stable