chore: remove unused import and delete one model to avoid rate limits… #446
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: Evals | |
| on: | |
| push: | |
| jobs: | |
| eval: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| node-version: [22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.8.0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Create .dev.vars file | |
| run: | | |
| echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > ./apps/sandbox-container/.dev.vars | |
| echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > ./apps/workers-bindings/.dev.vars | |
| echo "DEV_CLOUDFLARE_API_TOKEN=${{ secrets.DEV_CLOUDFLARE_API_TOKEN }}" >> ./apps/sandbox-container/.dev.vars | |
| echo "DEV_CLOUDFLARE_API_TOKEN=${{ secrets.DEV_CLOUDFLARE_API_TOKEN }}" >> ./apps/workers-bindings/.dev.vars | |
| echo "ANTHROPIC_KEY=${{ secrets.ANTHROPIC_KEY }}" >> ./apps/sandbox-container/.dev.vars | |
| echo "ANTHROPIC_KEY=${{ secrets.ANTHROPIC_KEY }}" >> ./apps/workers-bindings/.dev.vars | |
| - name: Verify .dev.vars file | |
| run: | | |
| du -h ./apps/sandbox-container/.dev.vars | |
| du -h ./apps/workers-bindings/.dev.vars | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run evals | |
| run: pnpm eval:ci |