fix: additional ci build config stuffs

This commit is contained in:
Adrian Castro
2024-02-04 12:03:06 +01:00
parent 6e53e00757
commit b800574a26
3 changed files with 6 additions and 4 deletions

View File

@@ -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: |

2
.gitignore vendored
View File

@@ -17,6 +17,8 @@ coverage
dist/
expo-env.d.ts
apps/expo/.gitignore
ios/
android/
# production
build

View File

@@ -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"