Update main.yml

This commit is contained in:
Savsis 2026-05-06 00:14:06 +05:00 • committed by GitHub
parent edfb2be5b8
commit ffba433af6

View file

@ -21,6 +21,7 @@ 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 uninstall expo-updates --legacy-peer-deps
- name: Prepare app.json - name: Prepare app.json
@ -42,7 +43,6 @@ jobs:
- name: Patch Track Player Plugin (Safe) - name: Patch Track Player Plugin (Safe)
run: | run: |
# Чиним только app.plugin.js, без вмешательства в исходники либы
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"
const { withInfoPlist } = require('@expo/config-plugins'); const { withInfoPlist } = require('@expo/config-plugins');