Skip to content

Commit b7b81fd

Browse files
committed
ci: remove default plugins from test app to avoid version conflicts
1 parent 5516101 commit b7b81fd

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-capacitor-android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
# Create minimal web assets (required by cap sync)
4848
mkdir -p dist
4949
echo '<html><body></body></html>' > dist/index.html
50+
# Remove default plugins to avoid version conflicts
51+
npm uninstall @capacitor/camera @capacitor/splash-screen 2>/dev/null || true
5052
# Copy compiled store.js into capacitor package
5153
cp "$GITHUB_WORKSPACE/www/store.js" "$GITHUB_WORKSPACE/capacitor/www/store.js"
5254
cp "$GITHUB_WORKSPACE/www/store.d.ts" "$GITHUB_WORKSPACE/capacitor/www/store.d.ts"

.github/workflows/build-capacitor-ios.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
# Create minimal web assets (required by cap sync)
4242
mkdir -p dist
4343
echo '<html><body></body></html>' > dist/index.html
44+
# Remove default plugins to avoid version conflicts
45+
npm uninstall @capacitor/camera @capacitor/splash-screen 2>/dev/null || true
4446
cp "$GITHUB_WORKSPACE/www/store.js" "$GITHUB_WORKSPACE/capacitor/www/store.js"
4547
cp "$GITHUB_WORKSPACE/www/store.d.ts" "$GITHUB_WORKSPACE/capacitor/www/store.d.ts"
4648
npm install "$GITHUB_WORKSPACE/capacitor"

0 commit comments

Comments
 (0)