supermemory/.github/workflows/ci.yml
Dhravya Shah 78269ff5d0 chore(ci): add JS tools unit tests to CI and turbo pipeline
Wire @supermemory/tools and @supermemory/ai-sdk unit tests into CI and
update workspace turbo config and lockfile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 19:40:06 -07:00

39 lines
1.1 KiB
YAML

name: CI - Type Check, Format & Lint
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
quality-checks:
name: Quality Checks
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.6
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run TypeScript type checking
run: bunx turbo run check-types --filter='@supermemory/ai-sdk' --filter='@supermemory/memory-graph'
- name: Run JS SDK unit tests
run: |
bun run --cwd packages/memory-graph test
bun run --cwd packages/tools test:unit
bun run --cwd packages/ai-sdk test:unit
- name: Run Biome CI (format & lint on changed files)
run: bunx biome ci --changed --since=origin/main --no-errors-on-unmatched