Skip to content

chore(deps-dev): bump typescript from 5.8.3 to 6.0.3 #129

chore(deps-dev): bump typescript from 5.8.3 to 6.0.3

chore(deps-dev): bump typescript from 5.8.3 to 6.0.3 #129

Workflow file for this run

name: LLM Evals
on:
pull_request:
paths:
- '.github/workflows/llm-evals.yml'
- 'package*.json'
- 'packages/triage/src/llm/functions/**'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: llm-evals
cancel-in-progress: false
queue: max
jobs:
changed-function-evals:
runs-on: ubuntu-latest
env:
CAN_RUN_EVALS: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Skip fork pull request
if: ${{ env.CAN_RUN_EVALS != 'true' }}
run: echo "Skipping LLM evals for fork pull request because repository secrets are unavailable."
- uses: actions/checkout@v6
if: ${{ env.CAN_RUN_EVALS == 'true' && github.event_name == 'pull_request' }}
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/checkout@v6
if: ${{ env.CAN_RUN_EVALS == 'true' && github.event_name == 'workflow_dispatch' }}
with:
fetch-depth: 0
- uses: actions/setup-node@v6
if: ${{ env.CAN_RUN_EVALS == 'true' }}
with:
node-version: 24
cache: npm
- run: npm ci
if: ${{ env.CAN_RUN_EVALS == 'true' }}
- run: npm run build:packages
if: ${{ env.CAN_RUN_EVALS == 'true' }}
- name: Run changed LLM function evals
if: ${{ env.CAN_RUN_EVALS == 'true' && github.event_name == 'pull_request' }}
run: npm run test:eval:changed -- "origin/${BASE_REF}"
env:
BASE_REF: ${{ github.base_ref }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Run changed LLM function evals
if: ${{ env.CAN_RUN_EVALS == 'true' && github.event_name == 'workflow_dispatch' }}
run: npm run test:eval:changed -- origin/main
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}