Skip to content

Update react native to 0.73.4 #44

Update react native to 0.73.4

Update react native to 0.73.4 #44

Workflow file for this run

name: CI (Android)
on:
pull_request:
paths:
- '.github/workflows/ci-android.yml'
- 'package.json'
- 'yarn.lock'
- 'android/**'
- 'example/android/**'
- 'example/package.json'
- 'example/yarn.lock'
push:
branches: [development]
paths:
- '.github/workflows/ci-android.yml'
- 'package.json'
- 'yarn.lock'
- 'android/**'
- 'example/android/**'
- 'example/package.json'
- 'example/yarn.lock'
concurrency:
group: ci-android-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
NO_FLIPPER: 1
jobs:
code-style-android:
name: Code style Android
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/development' }}
- name: Check code style
run: ./gradlew ktlintCheck
working-directory: android
test-build-android:
name: Build Android
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Install node_modules
run: yarn install --frozen-lockfile
- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example
- name: Install node_modules (integration_test/)
run: yarn install --frozen-lockfile --cwd integration_test
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/development' }}
- name: Build Android example
run: ./gradlew assembleDebug --build-cache
working-directory: example/android
- name: Build Android integration test host app
run: ./gradlew assembleDebug --build-cache
working-directory: integration_test/android