move LINE OAuth to demo app #103
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: E2E Tests (Firebase Emulator) | |
| on: | |
| - pull_request | |
| - push | |
| jobs: | |
| e2e-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache Gradle packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| - name: Firebase Emulator Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/firebase/emulators | |
| key: firebase-emulators-v3-${{ runner.os }} | |
| - name: Install Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Install Firebase Tools | |
| run: | | |
| npm i -g firebase-tools | |
| - name: Start Firebase Auth Emulator | |
| run: ./scripts/start-firebase-emulator.sh | |
| - name: Run E2E Tests | |
| run: | | |
| ./gradlew e2eTest | |
| - name: Print Logs | |
| if: failure() | |
| run: ./scripts/print_build_logs.sh |