fix(vertex-ai): missing system prompt #1466
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: CI | |
on: | |
pull_request: | |
branches: | |
- "main" | |
push: | |
branches: | |
- "main" | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version-file: ".nvmrc" | |
- uses: nrwl/nx-set-shas@v3 | |
- run: npm ci | |
- run: npx nx run-many --targets=lint | |
- run: npx prettier --check . | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
services: | |
qdrant: | |
image: qdrant/qdrant | |
ports: | |
- 6333:6333 | |
chroma: | |
image: chromadb/chroma | |
ports: | |
- 8000:8000 | |
permissions: | |
contents: "read" | |
id-token: "write" | |
actions: "read" | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version-file: ".nvmrc" | |
- uses: nrwl/nx-set-shas@v3 | |
- run: npm ci | |
- name: Build | |
run: npx nx affected --target=build --parallel=3 | |
- name: Test | |
run: npx nx affected --target=test --parallel=3 --ci --code-coverage |