mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
fix(ci): patch react-native-bottom-tabs plugin import
This commit is contained in:
parent
b0b5951055
commit
25da48690f
1 changed files with 11 additions and 1 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -27,7 +27,17 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: npm ci --legacy-peer-deps
|
||||
|
||||
|
||||
- name: Fix react-native-bottom-tabs plugin
|
||||
run: |
|
||||
# Patch app.plugin.js to require the CommonJS module instead of the ESM one
|
||||
if [ -f node_modules/react-native-bottom-tabs/app.plugin.js ]; then
|
||||
sed -i "s|require('./lib/module/expo')|require('./lib/commonjs/expo')|g" node_modules/react-native-bottom-tabs/app.plugin.js
|
||||
echo "Patched react-native-bottom-tabs/app.plugin.js"
|
||||
else
|
||||
echo "File node_modules/react-native-bottom-tabs/app.plugin.js not found, skipping patch."
|
||||
fi
|
||||
|
||||
- name: Build Android App
|
||||
env:
|
||||
SENTRY_DISABLE_AUTO_UPLOAD: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue