Skip to content

updating deps and tests #95

updating deps and tests

updating deps and tests #95

Workflow file for this run

name: Test PR
on:
pull_request_target:
branches:
- main
jobs:
approve:
runs-on: ubuntu-latest
steps:
- name: Approval required.
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.
test-branch:
name: run-tests
runs-on: ubuntu-latest
needs: [approve]
environment: OPENAI
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANYSCALE_API_KEY: ${{ secrets.ANYSCALE_API_KEY }}
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.9.0
- name: Install Dependencies
run: bun i
- run: bun run type-check
- run: bun run lint
- run: bun test --timeout=25000