Skip to content

Commit 0388626

Browse files
authored
Merge branch 'main' into chore/update-version-gated-feature-flag-docs
2 parents 6241d2d + 00bd71d commit 0388626

1,071 files changed

Lines changed: 34139 additions & 34572 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const utilNumberImportBurndownFiles = [
8282
'app/components/UI/Ramp/Aggregator/hooks/useHandleSuccessfulOrder.ts',
8383
'app/components/UI/Ramp/Aggregator/hooks/useIntentAmount.ts',
8484
'app/components/UI/Ramp/Aggregator/utils/index.ts',
85-
'app/components/UI/Ramp/Deposit/utils/index.ts',
85+
'app/components/UI/Ramp/utils/depositUtils.ts',
8686
'app/components/UI/Ramp/utils/getOrderAmount.ts',
8787
'app/components/UI/Ramp/utils/v2OrderToast.ts',
8888
'app/components/UI/Stake/components/StakingBalance/StakingBanners/ClaimBanner/ClaimBanner.tsx',

.github/CODEOWNERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,15 @@ tests/websocket/ @MetaMask/qa
403403
app/util/parseAmount.ts @MetaMask/swaps-engineers @MetaMask/money-movement
404404
app/util/parseAmount.test.ts @MetaMask/swaps-engineers @MetaMask/money-movement
405405

406+
# Wallet Library initialization
407+
app/core/Engine/wallet-init/initialization* @MetaMask/mobile-platform @MetaMask/core-platform
408+
app/core/Engine/wallet-init/keyrings* @MetaMask/accounts-engineers @MetaMask/mobile-platform @MetaMask/core-platform
409+
app/core/Engine/wallet-init/instance-options/approval-controller* @MetaMask/confirmations
410+
app/core/Engine/wallet-init/instance-options/connectivity-controller* @MetaMask/mobile-platform @MetaMask/core-platform
411+
app/core/Engine/wallet-init/instance-options/keyring-controller* @MetaMask/accounts-engineers @MetaMask/core-platform
412+
app/core/Engine/wallet-init/instance-options/remote-feature-flag-controller* @MetaMask/mobile-platform @MetaMask/core-platform
413+
app/core/Engine/wallet-init/instance-options/storage-service* @MetaMask/mobile-platform @MetaMask/core-platform
414+
406415
# Snapshots – no code owners assigned
407416
# This allows anyone with write access to approve changes to any *.snap files.
408417
# ⚠️ Note: Leaving this rule unassigned disables Code Owner review enforcement for snapshot files.

.github/actionlint.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ self-hosted-runner:
2020
- "namespace-profile-metamask-android-build"
2121
- "namespace-profile-metamask-ios-build"
2222
- "namespace-profile-metamask-ios-e2e"
23+
# Bitrise Build Hub (INFRA-3679). bitrise_pool_name:<role-label> — value matches Build Hub runner label.
24+
- "bitrise_pool_name:bitrise-metamask-ios-build"
25+
- "bitrise_pool_name:bitrise-metamask-ios-e2e"
26+
# Bitrise machine_type labels (INFRA-3679 — pool + machine_type AND routing)
27+
- "machine_type:g2.mac.m2pro.12c-28g"
28+
- "machine_type:g2.mac.m2pro.6c-14g"
29+
- "machine_type:g2.mac.m4.10c-28g"
30+
- "machine_type:g2.mac.m4.5c-14g"
31+
- "machine_type:g2.mac.m4pro.7c-27g"
32+
- "machine_type:g2.mac.m4pro.14c-54g"
2333

2434
# Configuration variables in array of strings defined in your repository or
2535
# organization. `null` means disabling configuration variables check.

.github/actions/setup-e2e-env/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
node-version:
99
description: 'Node.js version'
1010
required: false
11-
default: '20.18.0'
11+
default: '24.16.0'
1212
yarn-version:
1313
description: Yarn version to use with Corepack
1414
required: false
@@ -322,7 +322,7 @@ runs:
322322
command: ${{ steps.get-corepack-command.outputs.COREPACK_COMMAND }}
323323

324324
- name: Restore Yarn cache
325-
if: ${{ inputs.runner_provider != 'namespace' }}
325+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' }}
326326
uses: actions/cache@v4
327327
with:
328328
path: |
@@ -370,7 +370,7 @@ runs:
370370
shell: bash
371371

372372
- name: Restore Bundler cache
373-
if: ${{ inputs.platform == 'ios' && inputs.skip-pod-install != 'true' && inputs.runner_provider != 'namespace' }}
373+
if: ${{ inputs.platform == 'ios' && inputs.skip-pod-install != 'true' && inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' }}
374374
uses: actions/cache@v4
375375
with:
376376
path: ios/vendor/bundle
@@ -427,7 +427,7 @@ runs:
427427
shell: bash
428428

429429
- name: Restore CocoaPods specs cache
430-
if: ${{ inputs.platform == 'ios' && inputs.skip-pod-install != 'true' && inputs.runner_provider != 'namespace' }}
430+
if: ${{ inputs.platform == 'ios' && inputs.skip-pod-install != 'true' && inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' }}
431431
id: cocoapods-specs-cache
432432
uses: actions/cache@v4
433433
with:

.github/scripts/get-stable-released-version.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,13 @@ if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
3232
exit 1
3333
fi
3434

35+
# For OTA releases package.json is not bumped, so use the version from the
36+
# merge commit's source branch name (release/X.Y.Z-ota) instead.
37+
COMMIT_MSG=$(git log -1 --pretty=%B HEAD 2>/dev/null || echo "")
38+
if [[ "$COMMIT_MSG" =~ release/([0-9]+\.[0-9]+\.[0-9]+)-ota ]]; then
39+
OTA_STRIPPED="${BASH_REMATCH[1]}"
40+
echo "OTA release detected from merge commit (release/${OTA_STRIPPED}-ota): using ${OTA_STRIPPED} instead of package.json ${VERSION}"
41+
VERSION="$OTA_STRIPPED"
42+
fi
43+
3544
echo "stable_version=${VERSION}" >> "$GITHUB_OUTPUT"

.github/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"devDependencies": {
2020
"@lavamoat/allow-scripts": "^3.2.0",
2121
"@lavamoat/preinstall-always-fail": "^2.1.0",
22-
"@types/node": "^20.16.2",
22+
"@types/node": "^24.0.0",
2323
"ts-node": "^10.5.0",
2424
"typescript": "~5.4.5"
2525
},

.github/scripts/resolve-previous-ref.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ fetch_matching_refs() {
3131

3232
local count
3333
count=$(jq length "$resp")
34-
if [ "$count" -lt 100 ]; then
34+
# Break when fewer than a full page (last page) OR more than per_page
35+
# (API returned all results at once, ignoring per_page — e.g. git/matching-refs).
36+
if [ "$count" -ne 100 ]; then
3537
break
3638
fi
3739
page=$((page + 1))

.github/scripts/yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ __metadata:
134134
"@actions/github": "npm:^6.0.0"
135135
"@lavamoat/allow-scripts": "npm:^3.2.0"
136136
"@lavamoat/preinstall-always-fail": "npm:^2.1.0"
137-
"@types/node": "npm:^20.16.2"
137+
"@types/node": "npm:^24.0.0"
138138
ts-node: "npm:^10.5.0"
139139
typescript: "npm:~5.4.5"
140140
xml2js: "npm:^0.5.0"
@@ -380,12 +380,12 @@ __metadata:
380380
languageName: node
381381
linkType: hard
382382

383-
"@types/node@npm:^20.16.2":
384-
version: 20.16.2
385-
resolution: "@types/node@npm:20.16.2"
383+
"@types/node@npm:^24.0.0":
384+
version: 24.12.4
385+
resolution: "@types/node@npm:24.12.4"
386386
dependencies:
387-
undici-types: "npm:~6.19.2"
388-
checksum: 10/fcae2ffaa681c2947cd3dae67a6dcf83ef666fc0994281ad881b9e3bb542fec3a9206d9ce899c20e5cdddace2b96b42e32f247864de9baf95756c07b9eff15d7
387+
undici-types: "npm:~7.16.0"
388+
checksum: 10/4e5ce6faaf0e6f291114d6ac14fe546d491812b306107620802d5bef00ca36fb290637e79ec4fc24f33214f78f58c9b63254bd0ce94788bebfec03f26d45f2ea
389389
languageName: node
390390
linkType: hard
391391

@@ -1491,10 +1491,10 @@ __metadata:
14911491
languageName: node
14921492
linkType: hard
14931493

1494-
"undici-types@npm:~6.19.2":
1495-
version: 6.19.8
1496-
resolution: "undici-types@npm:6.19.8"
1497-
checksum: 10/cf0b48ed4fc99baf56584afa91aaffa5010c268b8842f62e02f752df209e3dea138b372a60a963b3b2576ed932f32329ce7ddb9cb5f27a6c83040d8cd74b7a70
1494+
"undici-types@npm:~7.16.0":
1495+
version: 7.16.0
1496+
resolution: "undici-types@npm:7.16.0"
1497+
checksum: 10/db43439f69c2d94cc29f75cbfe9de86df87061d6b0c577ebe9bb3255f49b22c50162a7d7eb413b0458b6510b8ca299ac7cff38c3a29fbd31af9f504bcf7fbc0d
14981498
languageName: node
14991499
linkType: hard
15001500

.github/workflows/auto-create-release-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
id-token: write
4444
uses: ./.github/workflows/create-release-pr.yml
4545
secrets:
46-
github-token: ${{ secrets.PR_TOKEN }}
4746
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}
4847
with:
4948
semver-version: ${{ needs.extract.outputs.semver }}

.github/workflows/build-ios-e2e.yml

Lines changed: 116 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ on:
3535
jobs:
3636
build-ios-apps:
3737
name: Build iOS E2E Apps
38-
runs-on: ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ios-build' || (startsWith(github.base_ref, 'release/') && fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe-xl"]') || fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe-xl", "low-priority"]')) }}
38+
runs-on: ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ios-build' || inputs.runner_provider == 'bitrise' && (vars.BITRISE_BUILD_MACHINE_TYPE != '' && fromJSON(format('["bitrise_pool_name:bitrise-metamask-ios-build","{0}"]', vars.BITRISE_BUILD_MACHINE_TYPE)) || 'bitrise_pool_name:bitrise-metamask-ios-build') || (startsWith(github.base_ref, 'release/') && fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe-xl"]') || fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe-xl", "low-priority"]')) }}
3939
outputs:
4040
artifacts-url: ${{ steps.set-artifacts-url.outputs.artifacts-url }}
4141
app-uploaded: ${{ steps.upload-app-namespace.outcome == 'success' || steps.upload-app.outcome == 'success' }}
4242
sourcemap-uploaded: ${{ steps.upload-sourcemap-namespace.outcome == 'success' || steps.upload-sourcemap.outcome == 'success' }}
4343
env:
44+
IOS_APP_CACHE_VERSION: 2
4445
XCODE_CACHE_VERSION: 1
4546
RCT_NO_LAUNCH_PACKAGER: 1
4647
XCODE_BUILD_SETTINGS: 'COMPILER_INDEX_STORE_ENABLE=NO'
@@ -82,6 +83,37 @@ jobs:
8283
- name: Checkout repo
8384
uses: actions/checkout@v6
8485
if: ${{ inputs.runner_provider != 'namespace' }}
86+
with:
87+
# BITRISE-SHADOW: preserve prewarmed node_modules / Pods (INFRA-3679)
88+
clean: ${{ inputs.runner_provider != 'bitrise' }}
89+
90+
# Bitrise Build Hub VMs use Vagrant (user=vagrant, HOME=/Users/vagrant).
91+
# GitHub Actions tooling expects /Users/runner — symlink for compatibility (INFRA-3591 POC).
92+
- name: Fix Vagrant environment paths (Bitrise runners)
93+
if: ${{ inputs.runner_provider == 'bitrise' }}
94+
run: |
95+
if [ -L /Users/runner ]; then
96+
current_target="$(readlink /Users/runner)"
97+
if [ "$current_target" = "/Users/vagrant" ]; then
98+
echo "Symlink already correct: /Users/runner -> /Users/vagrant"
99+
else
100+
echo "Replacing incorrect symlink /Users/runner -> $current_target"
101+
sudo rm /Users/runner
102+
sudo ln -s /Users/vagrant /Users/runner
103+
echo "Recreated symlink: /Users/runner -> /Users/vagrant"
104+
fi
105+
elif [ -e /Users/runner ]; then
106+
echo "Error: /Users/runner exists but is not a symlink"
107+
ls -ld /Users/runner
108+
exit 1
109+
else
110+
sudo ln -s /Users/vagrant /Users/runner
111+
echo "Created symlink /Users/runner -> /Users/vagrant"
112+
fi
113+
mkdir -p "$HOME/hostedtoolcache" "$HOME/tmp"
114+
echo "RUNNER_TOOL_CACHE=$HOME/hostedtoolcache" >> "$GITHUB_ENV"
115+
echo "RUNNER_TEMP=$HOME/tmp" >> "$GITHUB_ENV"
116+
shell: bash
85117

86118
- name: Configure Namespace cache
87119
if: ${{ inputs.runner_provider == 'namespace' }}
@@ -114,7 +146,8 @@ jobs:
114146
- name: Find reusable build from prior run
115147
id: find-reusable-build
116148
# Match Android: skip cross-run GitHub artifact reuse on Namespace until backend parity is proven.
117-
if: ${{ inputs.runner_provider != 'namespace' && steps.force-builds.outputs.force != 'true' && inputs.source-fingerprint != '' }}
149+
# BITRISE-SHADOW: skip GitHub artifact reuse; Bitrise uses actions/cache app fingerprint cache (INFRA-3591).
150+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' && steps.force-builds.outputs.force != 'true' && inputs.source-fingerprint != '' }}
118151
uses: ./.github/actions/find-reusable-build
119152
with:
120153
fingerprint: ${{ inputs.source-fingerprint }}
@@ -202,7 +235,10 @@ jobs:
202235
- name: Compute native-build gate
203236
id: gate
204237
run: |
205-
if [[ "${{ steps.find-reusable-build.outputs.found }}" == "true" \
238+
if [[ "${{ inputs.runner_provider }}" == "bitrise" && "${{ vars.BITRISE_FORCE_NATIVE_BUILD }}" == "true" ]]; then
239+
echo "needs-native-build=true" >> "$GITHUB_OUTPUT"
240+
echo "BITRISE_FORCE_NATIVE_BUILD=true — skipping GitHub artifact reuse to exercise Bitrise RN Build Cache."
241+
elif [[ "${{ steps.find-reusable-build.outputs.found }}" == "true" \
206242
&& "${{ steps.validate-reusable-metadata.outputs.valid }}" == "true" \
207243
&& "${{ steps.download-reusable-app.outcome }}" == "success" ]]; then
208244
echo "needs-native-build=false" >> "$GITHUB_OUTPUT"
@@ -272,9 +308,11 @@ jobs:
272308
# Heavy native setup — only runs on a full native-build path.
273309
# -------------------------------------------------------------------------
274310

311+
# Bitrise skips cirruslabs DerivedData caches below; RN Build Cache replaces them (INFRA-3591).
312+
275313
- name: Restore Xcode derived data from branch cache
276314
id: xcode-restore-cache
277-
if: ${{ inputs.runner_provider != 'namespace' && steps.gate.outputs.needs-native-build == 'true' }}
315+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
278316
# This action automatically updates the cache at the end of the workflow
279317
uses: cirruslabs/cache@bba69c6578b863ad0398ad40567bd2ef70290fe0 # v4
280318
with:
@@ -284,7 +322,7 @@ jobs:
284322
key: ${{ runner.os }}-xcode-${{ github.ref_name }}-${{ env.XCODE_CACHE_VERSION }}-${{ hashFiles('ios/**/*.{h,m,mm,swift}', 'ios/**/Podfile.lock', 'yarn.lock') }}
285323

286324
- name: Restore Xcode derived data from main cache
287-
if: ${{ inputs.runner_provider != 'namespace' && steps.gate.outputs.needs-native-build == 'true' && steps.xcode-restore-cache.outputs.cache-hit != 'true' && github.ref_name != 'main' }}
325+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build == 'true' && steps.xcode-restore-cache.outputs.cache-hit != 'true' && github.ref_name != 'main' }}
288326
id: xcode-restore-cache-main
289327
uses: cirruslabs/cache/restore@bba69c6578b863ad0398ad40567bd2ef70290fe0 # v4
290328
with:
@@ -333,7 +371,7 @@ jobs:
333371
run: find ios -name "*.plist" -exec xattr -c {} \;
334372

335373
- name: Restore .metamask folder
336-
if: ${{ inputs.runner_provider != 'namespace' && steps.gate.outputs.needs-native-build == 'true' }}
374+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
337375
id: restore-metamask
338376
uses: actions/cache@v4
339377
with:
@@ -356,7 +394,7 @@ jobs:
356394
if: ${{ steps.gate.outputs.needs-native-build != 'true' }}
357395
uses: actions/setup-node@v6
358396
with:
359-
node-version: '20.18.0'
397+
node-version: '24.16.0'
360398

361399
- name: Enable corepack (reuse-hit path)
362400
if: ${{ steps.gate.outputs.needs-native-build != 'true' }}
@@ -366,7 +404,7 @@ jobs:
366404
shell: bash
367405

368406
- name: Restore yarn cache (reuse-hit path)
369-
if: ${{ steps.gate.outputs.needs-native-build != 'true' }}
407+
if: ${{ inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build != 'true' }}
370408
uses: actions/cache@v4
371409
with:
372410
path: |
@@ -386,7 +424,7 @@ jobs:
386424
YARN_ENABLE_GLOBAL_CACHE: 'true'
387425

388426
- name: Restore .metamask folder (reuse-hit path)
389-
if: ${{ inputs.runner_provider != 'namespace' && steps.gate.outputs.needs-native-build != 'true' }}
427+
if: ${{ inputs.runner_provider != 'namespace' && inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build != 'true' }}
390428
id: restore-metamask-lean
391429
uses: actions/cache@v4
392430
with:
@@ -404,9 +442,77 @@ jobs:
404442
echo "📦 Setting up project (lightweight, skips Xcode build)..."
405443
yarn setup:github-ci --no-build-ios --no-build-android
406444
445+
- name: Activate Bitrise Build Cache for React Native
446+
if: ${{ inputs.runner_provider == 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
447+
env:
448+
BITRISE_BUILD_CACHE_AUTH_TOKEN: ${{ secrets.BITRISE_BUILD_CACHE_AUTH_TOKEN }}
449+
BITRISE_BUILD_CACHE_WORKSPACE_ID: ${{ vars.BITRISE_BUILD_CACHE_WORKSPACE_ID }}
450+
run: |
451+
#!/usr/bin/env bash
452+
set -euxo pipefail
453+
curl --retry 5 -sSfL 'https://raw.githubusercontent.com/bitrise-io/bitrise-build-cache-cli/main/install/installer.sh' | sh -s -- -b /tmp/bin -d
454+
/tmp/bin/bitrise-build-cache activate react-native
455+
echo "/tmp/bin" >> "$GITHUB_PATH"
456+
shell: bash
457+
458+
- name: Generate current fingerprint
459+
if: ${{ inputs.runner_provider == 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
460+
id: generate-fingerprint
461+
run: |
462+
if [[ -n "${{ inputs.source-fingerprint }}" ]]; then
463+
FINGERPRINT="${{ inputs.source-fingerprint }}"
464+
else
465+
FINGERPRINT=$(yarn fingerprint:generate)
466+
fi
467+
echo "fingerprint=$FINGERPRINT" >> "$GITHUB_OUTPUT"
468+
echo "Current fingerprint: ${FINGERPRINT}"
469+
470+
- name: Restore iOS app matching fingerprint from branch cache
471+
if: ${{ inputs.runner_provider == 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
472+
id: cache-restore
473+
uses: actions/cache@v4
474+
with:
475+
path: |
476+
ios/build/Build/Products/Release-iphonesimulator/MetaMask.app
477+
key: bitrise-ios-app-${{ inputs.build_type }}-${{ github.ref_name }}-v${{ env.IOS_APP_CACHE_VERSION }}-${{ steps.generate-fingerprint.outputs.fingerprint }}
478+
479+
- name: Restore iOS app matching fingerprint from main cache
480+
if: ${{ inputs.runner_provider == 'bitrise' && steps.gate.outputs.needs-native-build == 'true' && steps.cache-restore.outputs.cache-hit != 'true' && github.ref_name != 'main' }}
481+
id: cache-restore-main
482+
uses: actions/cache/restore@v4
483+
with:
484+
path: |
485+
ios/build/Build/Products/Release-iphonesimulator/MetaMask.app
486+
key: bitrise-ios-app-${{ inputs.build_type }}-main-v${{ env.IOS_APP_CACHE_VERSION }}-${{ steps.generate-fingerprint.outputs.fingerprint }}
487+
488+
- name: Build iOS E2E App (Bitrise RN cache)
489+
if: ${{ inputs.runner_provider == 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
490+
run: |
491+
echo "Building iOS E2E App on Bitrise runner..."
492+
bitrise-build-cache react-native run yarn build:ios:${{ inputs.build_type }}:e2e
493+
shell: bash
494+
env:
495+
PLATFORM: ios
496+
METAMASK_ENVIRONMENT: ${{ inputs.metamask_environment }}
497+
METAMASK_BUILD_TYPE: ${{ inputs.build_type }}
498+
HAS_TEST_OVERRIDES: true
499+
IS_SIM_BUILD: 'true'
500+
IGNORE_BOXLOGS_DEVELOPMENT: true
501+
GITHUB_CI: 'true'
502+
CI: 'true'
503+
NODE_OPTIONS: '--max-old-space-size=8192'
504+
SEGMENT_WRITE_KEY_QA: ${{ secrets.SEGMENT_WRITE_KEY_QA }}
505+
SEGMENT_PROXY_URL_QA: ${{ secrets.SEGMENT_PROXY_URL_QA }}
506+
SEGMENT_DELETE_API_SOURCE_ID_QA: ${{ secrets.SEGMENT_DELETE_API_SOURCE_ID_QA }}
507+
SEGMENT_REGULATIONS_ENDPOINT_QA: ${{ secrets.SEGMENT_REGULATIONS_ENDPOINT_QA }}
508+
MM_SENTRY_DSN_TEST: ${{ secrets.MM_SENTRY_DSN_TEST }}
509+
MM_SENTRY_AUTH_TOKEN: ${{ secrets.MM_SENTRY_AUTH_TOKEN }}
510+
GOOGLE_SERVICES_B64_IOS: ${{ secrets.GOOGLE_SERVICES_B64_IOS }}
511+
GOOGLE_SERVICES_B64_ANDROID: ${{ secrets.GOOGLE_SERVICES_B64_ANDROID }}
512+
407513
# Build the iOS E2E app for simulator
408514
- name: Build iOS E2E App
409-
if: ${{ steps.gate.outputs.needs-native-build == 'true' }}
515+
if: ${{ inputs.runner_provider != 'bitrise' && steps.gate.outputs.needs-native-build == 'true' }}
410516
run: |
411517
echo "🏗 Building iOS E2E App..."
412518
export NODE_OPTIONS="--max-old-space-size=8192"

0 commit comments

Comments
 (0)