Skip to content

Commit 2f791e2

Browse files
committed
fix: disable experimental strip-types for EAS builds
1 parent e92bbfc commit 2f791e2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/mobile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ jobs:
7070

7171
- name: Build iOS
7272
if: steps.check.outputs.skip != 'true'
73+
env:
74+
NODE_OPTIONS: --no-experimental-strip-types
7375
run: |
7476
PROFILE="${{ inputs.profile || 'preview' }}"
7577
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
@@ -120,6 +122,8 @@ jobs:
120122

121123
- name: Build Android
122124
if: steps.check.outputs.skip != 'true'
125+
env:
126+
NODE_OPTIONS: --no-experimental-strip-types
123127
run: |
124128
PROFILE="${{ inputs.profile || 'preview' }}"
125129
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
@@ -169,6 +173,8 @@ jobs:
169173

170174
- name: Push OTA Update
171175
if: steps.check.outputs.skip != 'true'
176+
env:
177+
NODE_OPTIONS: --no-experimental-strip-types
172178
run: |
173179
VERSION=$(node -p "require('../package.json').version")
174180
eas update --branch preview --message "v${VERSION}" --non-interactive

0 commit comments

Comments
 (0)