This commit is contained in:
parent
bf27baa7f5
commit
a8ddf4ce38
3 changed files with 8 additions and 1 deletions
|
@ -5,5 +5,5 @@ pipeline:
|
|||
- apt-get update
|
||||
- apt-get install -yq libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libcups2 libxss1 libxrandr2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libnss3 libasound2
|
||||
- npm install
|
||||
- npm run test
|
||||
- npm run test-no-sandbox
|
||||
- npm run build-prod
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
"build": "ng build --delete-output-path",
|
||||
"build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer",
|
||||
"test": "ng test",
|
||||
"test-no-sandbox": "ng test --browsers ChromeHeadlessNoSandbox",
|
||||
"lint": "ng lint",
|
||||
"e2e": "ng e2e",
|
||||
"postinstall": "npm rebuild node-sass"
|
||||
|
|
|
@ -29,6 +29,12 @@ module.exports = function (config) {
|
|||
logLevel: config.LOG_INFO,
|
||||
autoWatch: true,
|
||||
browsers: ['ChromeHeadless'],
|
||||
customLaunchers: {
|
||||
ChromeHeadlessNoSandbox: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox']
|
||||
}
|
||||
},
|
||||
singleRun: false
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue