Stack update (latest RN Fabric support, TypeScript migration, example rebooted, CI tested) #2
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: CI | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| build-and-typecheck: | |
| name: 🔍 Build & TypeScript | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📚 Checkout | |
| uses: actions/checkout@v4 | |
| - name: 🏗 Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: ☕ Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: 📦 Install dependencies (root) | |
| run: npm install --legacy-peer-deps | |
| - name: 📦 Install dependencies (example) | |
| run: cd example && npm install | |
| - name: 🔍 TypeScript check (root) | |
| run: npx tsc --noEmit | |
| - name: 🔍 TypeScript check (example) | |
| run: cd example && npx tsc --noEmit | |
| - name: 🔧 Setup Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: 🏗 Build Android APK | |
| run: | | |
| cd example/android | |
| ./gradlew assembleDebug --no-daemon | |
| - name: ✅ All checks passed | |
| run: echo "🎉 Build and TypeScript validation completed!" |