mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 09:03:25 +00:00
fix: additional ci build config stuffs
This commit is contained in:
4
.github/workflows/build-mobile.yml
vendored
4
.github/workflows/build-mobile.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build Android app
|
- name: Build Android app
|
||||||
run: cd apps/expo && pnpm apk
|
run: cd apps/expo && pnpm run apk
|
||||||
|
|
||||||
- name: Rename apk
|
- name: Rename apk
|
||||||
run: mv android/app/build/outputs/apk/release/app-release.apk android/app/build/outputs/apk/release/movie-web.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
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build iOS app
|
- name: Build iOS app
|
||||||
run: cd apps/expo && pnpm ipa
|
run: cd apps/expo && pnpm run ipa
|
||||||
|
|
||||||
- name: Export .ipa from .app
|
- name: Export .ipa from .app
|
||||||
run: |
|
run: |
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,6 +17,8 @@ coverage
|
|||||||
dist/
|
dist/
|
||||||
expo-env.d.ts
|
expo-env.d.ts
|
||||||
apps/expo/.gitignore
|
apps/expo/.gitignore
|
||||||
|
ios/
|
||||||
|
android/
|
||||||
|
|
||||||
# production
|
# production
|
||||||
build
|
build
|
||||||
|
@@ -11,8 +11,8 @@
|
|||||||
"android": "expo run:android",
|
"android": "expo run:android",
|
||||||
"ios": "expo run:ios",
|
"ios": "expo run:ios",
|
||||||
"apk": "expo prebuild --platform=android && cd android && ./gradlew assembleRelease",
|
"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": "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 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: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",
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
|
Reference in New Issue
Block a user