Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

add new ui build github workflow

yuneng-jiangbb9049de44a6
diff --git a/.github/workflows/test-litellm-ui-build.yml b/.github/workflows/test-litellm-ui-build.yml
new file mode 100644
index 00000000000..aaba761e8c7
--- /dev/null
+++ b/.github/workflows/test-litellm-ui-build.yml
@@ -0,0 +1,29 @@
+name: UI Build Check
+
+on:
+ pull_request:
+ branches: [main]
+
+jobs:
+ build-ui:
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ui/litellm-dashboard
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: "20"
+ cache: "npm"
+ cache-dependency-path: ui/litellm-dashboard/package-lock.json
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Build
+ run: npm run build