Skip to content

Fix cookbook link in README (#141) #397

Fix cookbook link in README (#141)

Fix cookbook link in README (#141) #397

Workflow file for this run

name: Test Main
on:
push:
branches:
- main
jobs:
test-main:
if: github.repository == 'instructor-ai/instructor-js' && github.ref == 'refs/heads/main'
name: run-tests
runs-on: ubuntu-latest
environment: TEST-MAIN
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANYSCALE_API_KEY: ${{ secrets.ANYSCALE_API_KEY }}
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- 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