Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci-nodejs-claude-sampleagent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: CI - Build Node.js Claude Sample Agent

on:
push:
branches: [ main, master ]
paths:
- 'nodejs/claude/sample-agent/**/*'
pull_request:
branches: [ main, master ]
paths:
- 'nodejs/claude/sample-agent/**/*'
jobs:
nodejs-claude-sampleagent:
name: Node.js Claude Sample Agent
permissions:
contents: read
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./nodejs/claude/sample-agent

strategy:
matrix:
node-version: ['18', '20']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Build
run: npm run build
42 changes: 42 additions & 0 deletions .github/workflows/ci-nodejs-langchain-sampleagent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: CI - Build Node.js LangChain Sample Agent

on:
push:
branches: [ main, master ]
paths:
- 'nodejs/langchain/sample-agent/**/*'
pull_request:
branches: [ main, master ]
paths:
- 'nodejs/langchain/sample-agent/**/*'
jobs:
nodejs-langchain-sampleagent:
name: Node.js LangChain Sample Agent
permissions:
contents: read
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./nodejs/langchain/sample-agent

strategy:
matrix:
node-version: ['18', '20']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Build
run: npm run build
2 changes: 0 additions & 2 deletions .github/workflows/ci-nodejs-openai-sampleagent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install dependencies
run: npm install
Expand Down
8 changes: 4 additions & 4 deletions nodejs/langchain/sample-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
],
"license": "MIT",
"dependencies": {
"@langchain/core": "*",
"@langchain/langgraph": "*",
"@langchain/mcp-adapters": "*",
"@langchain/openai": "*",
"@langchain/core": "^1.0.2",
"@langchain/langgraph": "^1.0.2",
"@langchain/mcp-adapters": "^1.0.0",
"@langchain/openai": "^1.0.2",
"@microsoft/agents-a365-notifications": "^0.1.0-preview.30",
"@microsoft/agents-a365-observability": "^0.1.0-preview.30",
"@microsoft/agents-a365-runtime": "^0.1.0-preview.30",
Expand Down