feat: implement rate limiting for AI API calls to manage request freq… #38
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: 'Testing with Vitest' | |
| on: [push, pull_request] | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js and Install PNPM | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: latest | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run SvelteKit Sync | |
| run: pnpm prepare | |
| - name: Run Tests | |
| run: pnpm test |