FCE-3076 validate Gemini API key at startup to fail fast (#283) #786
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| static-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Enable corepack | |
| run: corepack enable | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.4.1 | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Check formatting | |
| run: yarn format:check | |
| - name: Build SDK | |
| run: yarn build | |
| - name: Check lint | |
| run: yarn lint | |
| - name: Check typing | |
| run: yarn typecheck | |
| - name: Check TypeDoc generation | |
| run: yarn docs | |
| - name: Spellcheck | |
| run: yarn spellcheck |