File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
node-version : ' 22.11.0'
24
24
25
+ - name : Install Chromium
26
+ run : |
27
+ sudo apt-get update
28
+ sudo apt-get install -y chromium-browser
29
+
25
30
- name : Install dependencies and Run Tests
26
31
run : npm clean-install-test
Original file line number Diff line number Diff line change 2
2
// https://karma-runner.github.io/1.0/config/configuration-file.html
3
3
4
4
module . exports = function ( config ) {
5
+ const isCI = process . env . CI ;
5
6
config . set ( {
6
7
basePath : '' ,
7
8
frameworks : [ 'jasmine' , '@angular-devkit/build-angular' ] ,
@@ -32,7 +33,7 @@ module.exports = function (config) {
32
33
colors : true ,
33
34
logLevel : config . LOG_INFO ,
34
35
autoWatch : true ,
35
- browsers : [ 'Chrome' ] ,
36
- singleRun : false
36
+ browsers : isCI ? [ 'ChromeHeadless' ] : [ 'Chrome' ] ,
37
+ singleRun : isCI
37
38
} ) ;
38
39
} ;
You can’t perform that action at this time.
0 commit comments