Update main.yml

This commit is contained in:
Savsis 2026-05-06 00:18:02 +05:00 • committed by GitHub
parent ffba433af6
commit 37c0f46875

View file

@ -21,8 +21,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
npm install --legacy-peer-deps --ignore-scripts npm install --legacy-peer-deps --ignore-scripts
npm install react-native-svg --legacy-peer-deps --ignore-scripts # Ставим потерянные либы принудительно
npm uninstall expo-updates --legacy-peer-deps npm install react-native-svg expo-updates --legacy-peer-deps --ignore-scripts
- name: Prepare app.json - name: Prepare app.json
run: | run: |
@ -41,7 +41,7 @@ jobs:
} }
EOF EOF
- name: Patch Track Player Plugin (Safe) - name: Patch Track Player Plugin
run: | run: |
PLUGIN_PATH="node_modules/react-native-track-player/app.plugin.js" PLUGIN_PATH="node_modules/react-native-track-player/app.plugin.js"
cat << 'EOF' > "$PLUGIN_PATH" cat << 'EOF' > "$PLUGIN_PATH"
@ -58,7 +58,7 @@ jobs:
- name: Expo prebuild - name: Expo prebuild
run: npx expo prebuild --platform ios --clean --no-install run: npx expo prebuild --platform ios --clean --no-install
- name: Manual JS Bundle (Anti-Failure) - name: Manual JS Bundle
run: | run: |
mkdir -p ios/BurmaldaMusic mkdir -p ios/BurmaldaMusic
npx react-native bundle \ npx react-native bundle \