Skip to content

Commit 6f5ab24

Browse files
committed
improvement(ci): install only the Chromium runtime each suite uses
1 parent 1761a94 commit 6f5ab24

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/scripts/http-e2e.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ case "$group" in
233233
export COPILOT_TOOL_PERMISSIONS_ENABLED=true
234234
export KNOWLEDGE_MEMBER_ACCESS=true CREDENTIAL_GROUPS=true ACCESS_CONTROL_ENABLED=true
235235
export NEXT_PUBLIC_ACCESS_CONTROL_ENABLED=true NEXT_PUBLIC_ORGANIZATIONS_ENABLED=true
236-
if [ "$group" != desktop-inbox ]; then start_browser_install "$group" chromium; fi
236+
if [ "$group" != desktop-inbox ]; then start_browser_install "$group" --only-shell chromium; fi
237237
export INTERNAL_API_SECRET=desktop-inbox-http-ci-local-secret-at-least-32-characters
238238
export DB_TX_TRIPWIRE=throw
239239
start_app "$group" 3019 "$group" record-http-status
@@ -275,7 +275,7 @@ case "$group" in
275275
export KNOWLEDGE_MEMBER_ACCESS=true CREDENTIAL_GROUPS=true ACCESS_CONTROL_ENABLED=true
276276
export NEXT_PUBLIC_ACCESS_CONTROL_ENABLED=true
277277
export API_ENCRYPTION_KEY="$ENCRYPTION_KEY"
278-
start_browser_install "$group" chromium
278+
start_browser_install "$group" --no-shell chromium
279279
extension_identity=$(bun - <<'JS'
280280
import { generateKeyPairSync, createHash } from 'node:crypto'
281281
const { publicKey } = generateKeyPairSync('rsa', { modulusLength: 2048 })
@@ -312,7 +312,7 @@ JS
312312
export INTERNAL_API_SECRET=mobile-http-ci-local-secret-at-least-32-characters
313313
export NEXT_PUBLIC_SOCKET_URL=http://127.0.0.1:3025 SOCKET_SERVER_URL=http://127.0.0.1:3025
314314
read -ra browsers <<< "${MOBILE_E2E_BROWSER:-chromium webkit}"
315-
start_browser_install mobile "${browsers[@]}"
315+
start_browser_install mobile --only-shell "${browsers[@]}"
316316
start_app mobile 3024 'mobile browser' record-http-status
317317
start_realtime mobile 3025
318318
wait_for_browsers

‎.github/workflows/docs-negotiation.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ jobs:
373373
if: matrix.group == 'chromium' || matrix.group == 'webkit'
374374
env:
375375
BROWSER: ${{ matrix.group }}
376-
run: bunx --no-install playwright install --with-deps "$BROWSER"
376+
run: bunx --no-install playwright install --with-deps --only-shell "$BROWSER"
377377
- name: Verify production documentation
378378
env:
379379
DOCS_ACCEPTANCE_GROUP: ${{ matrix.group }}

0 commit comments

Comments
 (0)