Fix podfile #10
Workflow file for this run
This file contains 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: Fleetbase Navigator App CI | |
on: | |
pull_request: | |
branches: [ main ] # Trigger for PRs to main branch | |
jobs: | |
install_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm test | |
android_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build Android | |
run: cd android && ./gradlew assembleRelease | |
ios_build: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Install CocoaPods | |
run: sudo gem install cocoapods | |
- name: Install iOS pods | |
run: cd ios && pod install | |
- name: Build iOS | |
run: npx react-native run-ios --configuration Release |