fix(ci): avoid pnpm hoist conflicts in local eas builds
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user