language: node_js node_js: - 10 addons: apt: packages: # Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves - libgconf-2-4 cache: yarn: true directories: - node_modules - ~/.cache install: - yarn script: - yarn lint - yarn build - yarn start & wait-on http://localhost:3000 && CYPRESS_CI=true yarn cy:run --config baseUrl=http://localhost:3000