chore: use xcbeautify in actions

This commit is contained in:
Adrian Castro
2024-03-23 10:56:27 +01:00
parent 7e67282df9
commit d1c3e89a1d
4 changed files with 17 additions and 2 deletions

View File

@@ -83,6 +83,11 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install xcbeautify
uses: Cyberbeni/install-swift-tool@v2
with:
url: https://github.com/Cyberbeni/xcbeautify
- name: Build iOS app
run: cd apps/expo && pnpm ipa

View File

@@ -75,6 +75,11 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install xcbeautify
uses: Cyberbeni/install-swift-tool@v2
with:
url: https://github.com/Cyberbeni/xcbeautify
- name: Build iOS app
run: cd apps/expo && pnpm ipa

View File

@@ -103,6 +103,11 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install xcbeautify
uses: Cyberbeni/install-swift-tool@v2
with:
url: https://github.com/Cyberbeni/xcbeautify
- name: Build iOS app
run: cd apps/expo && pnpm ipa

View File

@@ -11,8 +11,8 @@
"android": "expo run:android",
"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",
"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: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": "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 | 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",
"lint": "eslint .",
"typecheck": "tsc --noEmit"