mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
chore: use xcbeautify in actions
This commit is contained in:
5
.github/workflows/build-mobile-comment.yml
vendored
5
.github/workflows/build-mobile-comment.yml
vendored
@@ -84,6 +84,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Install xcbeautify
|
||||||
|
uses: Cyberbeni/install-swift-tool@v2
|
||||||
|
with:
|
||||||
|
url: https://github.com/Cyberbeni/xcbeautify
|
||||||
|
|
||||||
- name: Build iOS app
|
- name: Build iOS app
|
||||||
run: cd apps/expo && pnpm ipa
|
run: cd apps/expo && pnpm ipa
|
||||||
|
|
||||||
|
5
.github/workflows/build-mobile.yml
vendored
5
.github/workflows/build-mobile.yml
vendored
@@ -75,6 +75,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Install xcbeautify
|
||||||
|
uses: Cyberbeni/install-swift-tool@v2
|
||||||
|
with:
|
||||||
|
url: https://github.com/Cyberbeni/xcbeautify
|
||||||
|
|
||||||
- name: Build iOS app
|
- name: Build iOS app
|
||||||
run: cd apps/expo && pnpm ipa
|
run: cd apps/expo && pnpm ipa
|
||||||
|
|
||||||
|
5
.github/workflows/release-mobile.yml
vendored
5
.github/workflows/release-mobile.yml
vendored
@@ -103,6 +103,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Install xcbeautify
|
||||||
|
uses: Cyberbeni/install-swift-tool@v2
|
||||||
|
with:
|
||||||
|
url: https://github.com/Cyberbeni/xcbeautify
|
||||||
|
|
||||||
- name: Build iOS app
|
- name: Build iOS app
|
||||||
run: cd apps/expo && pnpm ipa
|
run: cd apps/expo && pnpm ipa
|
||||||
|
|
||||||
|
@@ -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 && mv app/build/outputs/apk/release/app-release.apk app/build/movie-web.apk",
|
"apk": "expo prebuild --platform=android && cd android && ./gradlew assembleRelease && mv app/build/outputs/apk/release/app-release.apk app/build/movie-web.apk",
|
||||||
"ipa": "expo prebuild --platform=ios && cd ios && xcodebuild clean archive -workspace movieweb.xcworkspace -scheme movieweb -configuration Release -destination generic/platform=iOS -archivePath build/movieweb.xcarchive CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_ALLOWED=NO | xcpretty && cd build/movieweb.xcarchive/Products && mv Applications Payload && zip -r movie-web.ipa Payload && mv movie-web.ipa ../..",
|
"ipa": "expo prebuild --platform=ios && cd ios && xcodebuild clean archive -workspace movieweb.xcworkspace -scheme movieweb -configuration Release -destination generic/platform=iOS -archivePath build/movieweb.xcarchive CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_ALLOWED=NO | xcbeautify && cd build/movieweb.xcarchive/Products && mv Applications Payload && zip -r movie-web.ipa Payload && mv movie-web.ipa ../..",
|
||||||
"ipa:sim": "expo prebuild --platform=ios && cd ios && xcodebuild clean archive -workspace movieweb.xcworkspace -scheme movieweb -configuration Release -destination \"generic/platform=iOS Simulator\" -archivePath build/movieweb.xcarchive CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_ALLOWED=NO | xcpretty && cd build/movieweb.xcarchive/Products && mv Applications Payload && zip -r movie-web.ipa Payload && mv movie-web.ipa ../..",
|
"ipa:sim": "expo prebuild --platform=ios && cd ios && xcodebuild clean archive -workspace movieweb.xcworkspace -scheme movieweb -configuration Release -destination \"generic/platform=iOS Simulator\" -archivePath build/movieweb.xcarchive CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_ALLOWED=NO | xcbeautify && cd build/movieweb.xcarchive/Products && mv Applications Payload && zip -r movie-web.ipa Payload && mv movie-web.ipa ../..",
|
||||||
"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