fix(ai): replace retired Claude model defaults (#123) #18
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 | |
| # Botsmann is deployed self-hosted on the Hetzner box "bitbaum" behind Caddy. | |
| # Deployment runs from the local `.husky/pre-push` hook (build -> rsync -> systemd | |
| # restart) when main is pushed. This workflow only validates build/lint/tests. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| # Single SSOT gate: format:check + lint + test + build. | |
| # Runs verbatim what developers run locally via `npm run verify`. | |
| # No --if-present: a missing/renamed gate script fails loudly. | |
| - name: Verify (format + lint + test + build) | |
| run: npm run verify | |
| env: | |
| NEXT_PUBLIC_DEPLOY_TIME: ${{ github.event.head_commit.timestamp }} |