Add Live API video recording #7
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: Check Firebase AI Samples | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - 'ai/ai-react-app/**' | |
| jobs: | |
| build-react-app: | |
| name: Build React App | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'yarn' | |
| cache-dependency-path: 'ai/ai-react-app/yarn.lock' | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| working-directory: ./ai/ai-react-app | |
| - name: Build application | |
| run: yarn build | |
| working-directory: ./ai/ai-react-app |