Update main.yml
This commit is contained in:
parent
60794a45fd
commit
0f9727ce8b
1 changed files with 1 additions and 18 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
|
@ -21,24 +21,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: npm install --legacy-peer-deps
|
||||||
npm cache clean --force
|
|
||||||
npm install --legacy-peer-deps
|
|
||||||
|
|
||||||
- name: Patch react-native-track-player
|
|
||||||
run: node scripts/patch-track-player.js
|
|
||||||
|
|
||||||
- name: Verify patch
|
|
||||||
run: |
|
|
||||||
FILE="node_modules/react-native-track-player/lib/src/trackPlayer.js"
|
|
||||||
if [ -f "$FILE" ]; then
|
|
||||||
echo "PATCH OK: $(wc -c < $FILE) bytes"
|
|
||||||
head -2 "$FILE"
|
|
||||||
else
|
|
||||||
echo "ERROR: patch-track-player.js did not create the file"
|
|
||||||
ls node_modules/react-native-track-player/lib/ || true
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Expo prebuild
|
- name: Expo prebuild
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue