fix(ci): avoid pnpm hoist conflicts in local eas builds

This commit is contained in:
DIYgod
2026-04-14 14:32:03 +08:00
parent 598e66ecad
commit 85c9c2901e
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -77,6 +77,8 @@ jobs:
run: eas build --platform android --profile ${{ github.event.inputs.profile || 'preview' }} --local --output=${{ github.workspace }}/build.${{ github.event.inputs.profile == 'production' && 'aab' || 'apk' }}
env:
EAS_NO_FROZEN_LOCKFILE: "1"
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
- name: 📤 Upload apk Artifact
if: github.event.inputs.profile != 'production'
@@ -58,6 +58,8 @@ jobs:
EAS_NO_FROZEN_LOCKFILE: "1"
SENTRY_AUTH_TOKEN: ${{ secrets.RN_SENTRY_AUTH_TOKEN }}
CI: true
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
# Optional: Upload artifact
- name: 📤 Upload IPA
@@ -109,6 +111,8 @@ jobs:
EAS_NO_FROZEN_LOCKFILE: "1"
CI: true
SENTRY_AUTH_TOKEN: ${{ secrets.RN_SENTRY_AUTH_TOKEN }}
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
# Optional: Upload artifact
- name: 📤 Upload IPA
uses: actions/upload-artifact@v7
@@ -154,6 +158,8 @@ jobs:
EAS_NO_FROZEN_LOCKFILE: "1"
CI: true
SENTRY_AUTH_TOKEN: ${{ secrets.RN_SENTRY_AUTH_TOKEN }}
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
# Optional: Upload artifact
- name: 📤 Upload IPA
uses: actions/upload-artifact@v7
+4
View File
@@ -66,6 +66,8 @@ jobs:
EAS_NO_FROZEN_LOCKFILE: "1"
SENTRY_AUTH_TOKEN: ${{ secrets.RN_SENTRY_AUTH_TOKEN }}
CI: true
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
# Optional: Upload artifact
- name: 📤 Upload IPA
@@ -122,6 +124,8 @@ jobs:
EAS_NO_FROZEN_LOCKFILE: "1"
CI: true
SENTRY_AUTH_TOKEN: ${{ secrets.RN_SENTRY_AUTH_TOKEN }}
npm_config_node_linker: isolated
npm_config_shamefully_hoist: "false"
# Optional: Upload artifact
- name: 📤 Upload IPA
uses: actions/upload-artifact@v7