Skip to content

feat: add gemini vertex api support #29

feat: add gemini vertex api support

feat: add gemini vertex api support #29

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Create empty .env file
run: touch .env
- name: Run tests
run: npm run test
- name: Build
run: npm run build