Skip to content

chore: Global lint. #65

chore: Global lint.

chore: Global lint. #65

Workflow file for this run

name: sdk/server-ai
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
build-test-node-server-otel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- id: shared
name: Shared CI Steps
uses: ./actions/ci
with:
workspace_name: '@launchdarkly/server-sdk-ai'
workspace_path: packages/sdk/server-ai
- name: Build bedrock example
run: |
yarn workspaces focus @launchdarkly/hello-ai-bedrock
yarn workspace @launchdarkly/hello-ai-bedrock lint
yarn workspaces foreach -pR --topological-dev --from '@launchdarkly/hello-ai-bedrock' run build
- name: Build OpenAI example
run: |
yarn workspaces focus @launchdarkly/hello-openai
yarn workspace @launchdarkly/hello-openai lint
yarn workspaces foreach -pR --topological-dev --from '@launchdarkly/hello-openai' run build