From 698a3cf1acfa0f2a656ef790c3d825f2b4f7dce4 Mon Sep 17 00:00:00 2001 From: Savsis Date: Tue, 28 Apr 2026 21:23:06 +0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19325cd..5cf415c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,46 +17,24 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' - cache: 'npm' - - - name: Setup Ruby for CocoaPods - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3' - bundler-cache: true - - - name: Install CocoaPods - run: gem install cocoapods - name: Install dependencies - run: npm ci - - - name: Clean react-native-track-player cache - run: | - rm -rf node_modules/react-native-track-player - npm install react-native-track-player@latest + run: npm install react-native-svg && npm install - name: Fix permissions run: chmod -R +x node_modules/.bin/ - name: Fix PNG assets run: | - find assets -name "*.png" 2>/dev/null | while read f; do + find assets -name "*.png" | while read f; do sips -s format png "$f" --out "$f" - done || true + done - name: Expo prebuild - run: | - npx expo prebuild --platform ios --clean + run: npx expo prebuild --platform ios --clean env: EXPO_NO_DOTENV: 1 - - name: Install Pods - run: | - cd ios - pod install --repo-update - cd .. - - name: Free disk space run: rm -rf ~/Library/Developer/Xcode/DerivedData