deps: bump react-native-screens from 3.37.0 to 4.24.0 #94
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: iOS CI | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| jobs: | ||
| build-and-test: | ||
| runs-on: macos-latest | ||
| env: | ||
| NODE_VERSION: 20.19.0 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VERSION }} | ||
| cache: "npm" | ||
| - name: Install dependencies | ||
| run: npm install | ||
| - name: Install iOS pods | ||
| run: | | ||
| cd ios | ||
| pod install | ||
| cd .. | ||
| - name: Run linting | ||
| run: npm run lint | ||
| - name: Run tests | ||
| run: npm run test:ci | ||
| - name: Build iOS Debug (Simulator) | ||
| run: | | ||
| xcodebuild -workspace ios/CardScannerApp.xcworkspace -scheme CardScannerApp -configuration Debug -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' clean build CONFIGURATION_BUILD_DIR=ios/build/Debug-iphonesimulator | ||
| mkdir -p build | ||
| cp -r ios/build/Debug-iphonesimulator/CardScannerApp.app build/CardScanner-debug-ios.app | ||
| - name: Upload iOS Debug Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ios-debug-app | ||
| path: build/CardScanner-debug-ios.app | ||
| - name: Build iOS Release (Archive) | ||
| if: false | ||
| run: | | ||
| xcodebuild -workspace ios/CardScannerApp.xcworkspace -scheme CardScannerApp -configuration Release -sdk iphoneos -archivePath build/CardScannerApp.xcarchive archive | ||
| xcodebuild -exportArchive -archivePath build/CardScannerApp.xcarchive -exportOptionsPlist ios/ExportOptions.plist -exportPath build | ||
| cp build/CardScannerApp.ipa CardScanner-release-ios.ipa | ||
| - name: Upload iOS Release Artifact | ||
| if: false | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ios-release-ipa | ||
| path: CardScanner-release-ios.ipa | ||