Skip to content

deps: bump react-native-screens from 3.37.0 to 4.24.0 #94

deps: bump react-native-screens from 3.37.0 to 4.24.0

deps: bump react-native-screens from 3.37.0 to 4.24.0 #94

Workflow file for this run

name: iOS CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:

Check failure on line 10 in .github/workflows/ios-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ios-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
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