improve visbility of elements in dom processing #146
This file contains 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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-evals: | |
runs-on: ubuntu-latest | |
timeout-minutes: 25 | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
BRAINTRUST_API_KEY: ${{ secrets.BRAINTRUST_API_KEY }} | |
BROWSERBASE_API_KEY: ${{ secrets.BROWSERBASE_API_KEY }} | |
HEADLESS: true | |
EVAL_ENV: browserbase | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Install Playwright browsers | |
run: pnpm exec playwright install --with-deps | |
- name: Initialize Banana Analyzer Evals | |
run: ./evals/bananalyzer-ts/init.sh | |
- name: Run Evals | |
run: pnpm evals | |
timeout-minutes: 20 | |
# Uncomment the lines below to ssh into the container for debugging | |
# - name: Install sshx | |
# run: curl -sSf https://sshx.io/get | sh -s run |