Update main.yml
This commit is contained in:
parent
6e3efa49a5
commit
698a3cf1ac
1 changed files with 4 additions and 26 deletions
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue