Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

ci: add PR workflow for build, test, and type-check

Lum1104a7eea056944a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..82135cbf
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ pull_request:
+
+jobs:
+ ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: pnpm/action-setup@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: pnpm
+ cache-dependency-path: pnpm-lock.yaml
+
+ - name: Install dependencies
+ run: pnpm install
+
+ - name: Build core
+ run: pnpm --filter @understand-anything/core build
+
+ - name: Build skill
+ run: pnpm --filter @understand-anything/skill build
+
+ - name: Test core
+ run: pnpm --filter @understand-anything/core test
+
+ - name: Test skill
+ run: pnpm --filter @understand-anything/skill test