Install Chrome in the Cloud Build process (#124)

* Install Chrome in the Cloud Build process

It's not in the built-in Linux apt repos so we need to manually wget it

* Update package lock file
This commit is contained in:
gbrodman 2019-06-20 18:19:23 -04:00 committed by GitHub
parent 520145f641
commit 00147c1bc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 609 additions and 450 deletions

View file

@ -1,6 +1,14 @@
process.env.CHROME_BIN = require('puppeteer').executablePath()
module.exports = function(config) {
config.set({
browsers: ['ChromeHeadless'],
browsers: ['ChromeHeadlessNoSandbox'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
frameworks: ['jasmine', 'closure'],
singleRun: true,
autoWatch: false,