ci(relay-angular-ks: run with chromeheadless when in CI

This commit is contained in:
fryorcraken.eth 2022-08-08 12:54:15 +10:00
parent a7f422956c
commit 9e27984881
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 26 additions and 2 deletions

View File

@ -7,8 +7,9 @@
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "ng test", "test": "is-ci-cli test:ci test:local",
"test-ci": "ng test --watch=false" "test:local": "ng test",
"test:ci": "ng test --watch=false --browsers=ChromeHeadless"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
@ -37,6 +38,7 @@
"@types/node": "^17.0.21", "@types/node": "^17.0.21",
"assert": "^2.0.0", "assert": "^2.0.0",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"is-ci-cli": "^2.2.0",
"jasmine-core": "~4.0.0", "jasmine-core": "~4.0.0",
"karma": "~6.3.0", "karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",

View File

@ -18,6 +18,7 @@ specifiers:
assert: ^2.0.0 assert: ^2.0.0
buffer: ^6.0.3 buffer: ^6.0.3
crypto-browserify: ^3.12.0 crypto-browserify: ^3.12.0
is-ci-cli: ^2.2.0
jasmine-core: ~4.0.0 jasmine-core: ~4.0.0
js-waku: ^0.19.2 js-waku: ^0.19.2
karma: ~6.3.0 karma: ~6.3.0
@ -58,6 +59,7 @@ devDependencies:
'@types/node': 17.0.45 '@types/node': 17.0.45
assert: 2.0.0 assert: 2.0.0
buffer: 6.0.3 buffer: 6.0.3
is-ci-cli: 2.2.0
jasmine-core: 4.0.1 jasmine-core: 4.0.1
karma: 6.3.20 karma: 6.3.20
karma-chrome-launcher: 3.1.1 karma-chrome-launcher: 3.1.1
@ -3035,6 +3037,10 @@ packages:
engines: {node: '>=6.0'} engines: {node: '>=6.0'}
dev: true dev: true
/ci-info/2.0.0:
resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==}
dev: true
/cipher-base/1.0.4: /cipher-base/1.0.4:
resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==}
dependencies: dependencies:
@ -5046,6 +5052,22 @@ packages:
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dev: true dev: true
/is-ci-cli/2.2.0:
resolution: {integrity: sha512-Xg97ZGDzU0a9gPTAli+TNegMk+PI3x0KLRYCfBa2LAboF1YyuA03Gwdc9vpu3VRNU+lFFNkvXnIQuJ0PgB120Q==}
engines: {node: '>=8'}
hasBin: true
dependencies:
cross-spawn: 7.0.3
is-ci: 2.0.0
dev: true
/is-ci/2.0.0:
resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==}
hasBin: true
dependencies:
ci-info: 2.0.0
dev: true
/is-core-module/2.10.0: /is-core-module/2.10.0:
resolution: {integrity: sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==} resolution: {integrity: sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==}
dependencies: dependencies: