build(deps-dev): bump vite from 8.3.0 to 8.3.1 in the development-dependencies group across 1 directory #106
Workflow file for this run
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: Mobile CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: mobile-ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| name: TypeScript, package boundary, and Android build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Set up Java | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: gradle | |
| - name: Install mobile dependencies | |
| run: npm ci | |
| - name: Verify installed core packages | |
| run: npm run boundaries:check | |
| - name: Reject high-severity production advisories | |
| run: | | |
| npm audit --omit=dev --audit-level=high | |
| - name: Test and typecheck bridges | |
| run: | | |
| npm test | |
| npm run typecheck | |
| npm run upstream | |
| - name: Build and sync Android project | |
| run: npm run sync | |
| - name: Run native unit tests, lint, and assemble | |
| working-directory: android | |
| run: ./gradlew --no-daemon testDebugUnitTest lintDebug assembleDebug | |
| emulator-smoke: | |
| name: Android emulator launch | |
| needs: verify | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Set up Java | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Build and sync Android project | |
| run: | | |
| npm ci | |
| npm run sync | |
| - name: Launch app and run instrumentation tests | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: 35 | |
| arch: x86_64 | |
| disable-animations: true | |
| # The runner's own wait accepts half-booted VMs (system services | |
| # down); the gate script holds the tests until they answer. | |
| script: | | |
| sh tooling/ci-wait-for-emulator.sh | |
| cd android && ./gradlew --no-daemon :app:connectedDebugAndroidTest |