Skip to content

Commit dddd5e7

Browse files
committed
CI and docs.
1 parent 8eb4ad3 commit dddd5e7

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

.github/workflows/node-ai.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: telemetry/node-server-sdk-otel
2+
3+
on:
4+
push:
5+
branches: [main, 'feat/**']
6+
paths-ignore:
7+
- '**.md' #Do not need to run CI for markdown changes.
8+
pull_request:
9+
branches: [main, 'feat/**']
10+
paths-ignore:
11+
- '**.md'
12+
13+
jobs:
14+
build-test-node-server-otel:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20.x
21+
registry-url: 'https://registry.npmjs.org'
22+
- id: shared
23+
name: Shared CI Steps
24+
uses: ./actions/ci
25+
with:
26+
workspace_name: '@launchdarkly/ai'
27+
workspace_path: packages/sdk/ai
28+
- name: Build bedrock example
29+
run: |
30+
cd packages/sdk/ai/examples/bedrock
31+
yarn build
32+
- name: Build OpenAI example
33+
run: |
34+
cd packages/sdk/ai/examples/opanai
35+
yarn build

packages/sdk/ai/tsconfig.ref.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": ["src/**/*"],
4+
"compilerOptions": {
5+
"composite": true
6+
}
7+
}

packages/sdk/ai/typedoc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": ["../../../typedoc.base.json"],
3+
"entryPoints": ["src/index.ts"],
4+
"out": "docs"
5+
}

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,8 @@
6161
{
6262
"path": "./packages/sdk/browser/contract-tests/entity/tsconfig.ref.json"
6363
}
64+
{
65+
"path": "./packages/sdk/ai/tsconfig.ref.json"
66+
}
6467
]
6568
}

0 commit comments

Comments
 (0)