Skip to content

chore: native build ci #4

chore: native build ci

chore: native build ci #4

on:
push:
branches:
- main
pull_request:
name: Android Integration
jobs:
ktlint:
runs-on: ubuntu-latest
name: Kotlin Lint
steps:
- uses: actions/checkout@v4
- uses: touchlab-lab/[email protected]
with:
ktlint_version: 1.3.1
- run: ktlint "packages/react-native/android/src/**/*.kt"
build:
runs-on: ubuntu-latest
name: Build Android
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install
- name: Build Android (new arch)
run: cd examples/v0.76.1-new-arch/android && ./gradlew assembleDebug --build-cache && cd ../..
- name: Build Android (old arch)
run: cd examples/v0.71.19/android && ./gradlew assembleDebug --build-cache && cd ../..