diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index e722494..b647ded 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -59,7 +59,7 @@ jobs: run: pnpm install - name: Build Android app - run: cd apps/expo && pnpm apk + run: cd apps/expo && pnpm run apk - name: Rename apk run: mv android/app/build/outputs/apk/release/app-release.apk android/app/build/outputs/apk/release/movie-web.apk @@ -97,7 +97,7 @@ jobs: run: pnpm install - name: Build iOS app - run: cd apps/expo && pnpm ipa + run: cd apps/expo && pnpm run ipa - name: Export .ipa from .app run: | diff --git a/.gitignore b/.gitignore index 95c83c2..7774961 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,8 @@ coverage dist/ expo-env.d.ts apps/expo/.gitignore +ios/ +android/ # production build diff --git a/apps/expo/package.json b/apps/expo/package.json index 7bbcc10..c9fcf85 100644 --- a/apps/expo/package.json +++ b/apps/expo/package.json @@ -11,8 +11,8 @@ "android": "expo run:android", "ios": "expo run:ios", "apk": "expo prebuild --platform=android && cd android && ./gradlew assembleRelease", - "ipa": "expo prebuild --platform=ios && cd ios && xcodebuild -workspace movie-web.xcworkspace -scheme movie-web -sdk iphoneos -configuration Release -derivedDataPath build -destination generic/platform=iOS CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO", - "ipa:sim": "expo prebuild --platform=ios && cd ios && xcodebuild -workspace movie-web.xcworkspace -scheme movie-web -sdk iphonesimulator -configuration Release -derivedDataPath build -destination \"generic/platform=iOS Simulator\" CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO", + "ipa": "expo prebuild --platform=ios && cd ios && xcodebuild -workspace movieweb.xcworkspace -scheme movieweb -sdk iphoneos -configuration Release -derivedDataPath build -destination generic/platform=iOS CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO", + "ipa:sim": "expo prebuild --platform=ios && cd ios && xcodebuild -workspace movieweb.xcworkspace -scheme movieweb -sdk iphonesimulator -configuration Release -derivedDataPath build -destination \"generic/platform=iOS Simulator\" CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO", "format": "prettier --check . --ignore-path ../../.gitignore", "lint": "eslint .", "typecheck": "tsc --noEmit"