Skip to content
Draft
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
131 changes: 131 additions & 0 deletions .github/workflows/appkit-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: appkit-agent

on:
push:
branches:
- main
paths:
- "integrations/appkit-agent/**"
- ".github/workflows/appkit-agent.yml"
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "integrations/appkit-agent/**"
- ".github/workflows/appkit-agent.yml"
workflow_dispatch:

defaults:
run:
working-directory: integrations/appkit-agent

jobs:
test:
runs-on: ubuntu-latest
name: "test (node: ${{ matrix.node-version }})"
strategy:
matrix:
node-version: ["20", "22"]
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: integrations/appkit-agent/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: pnpm run test

typecheck:
runs-on: ubuntu-latest
name: typecheck
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-agent/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run typecheck
run: pnpm run typecheck

format:
runs-on: ubuntu-latest
name: format
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-agent/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check formatting
run: pnpm run format:check

build:
runs-on: ubuntu-latest
name: build
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-agent/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build package
run: pnpm run build
131 changes: 131 additions & 0 deletions .github/workflows/appkit-chat-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: appkit-chat-server

on:
push:
branches:
- main
paths:
- "integrations/appkit-chat-server/**"
- ".github/workflows/appkit-chat-server.yml"
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "integrations/appkit-chat-server/**"
- ".github/workflows/appkit-chat-server.yml"
workflow_dispatch:

defaults:
run:
working-directory: integrations/appkit-chat-server

jobs:
test:
runs-on: ubuntu-latest
name: "test (node: ${{ matrix.node-version }})"
strategy:
matrix:
node-version: ["20", "22"]
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: integrations/appkit-chat-server/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: pnpm run test

typecheck:
runs-on: ubuntu-latest
name: typecheck
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-chat-server/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run typecheck
run: pnpm run typecheck

format:
runs-on: ubuntu-latest
name: format
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-chat-server/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check formatting
run: pnpm run format:check

build:
runs-on: ubuntu-latest
name: build
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/appkit-chat-server/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build package
run: pnpm run build
131 changes: 131 additions & 0 deletions .github/workflows/chat-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: chat-ui

on:
push:
branches:
- main
paths:
- "integrations/chat-ui/**"
- ".github/workflows/chat-ui.yml"
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "integrations/chat-ui/**"
- ".github/workflows/chat-ui.yml"
workflow_dispatch:

defaults:
run:
working-directory: integrations/chat-ui

jobs:
test:
runs-on: ubuntu-latest
name: "test (node: ${{ matrix.node-version }})"
strategy:
matrix:
node-version: ["18", "20", "22"]
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: integrations/chat-ui/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: pnpm run test

typecheck:
runs-on: ubuntu-latest
name: typecheck
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/chat-ui/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run typecheck
run: pnpm run typecheck

format:
runs-on: ubuntu-latest
name: format
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/chat-ui/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check formatting
run: pnpm run format:check

build:
runs-on: ubuntu-latest
name: build
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: integrations/chat-ui/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build package
run: pnpm run build
Loading
Loading