From bb9049de44a6b09330959d6853d0a05c9a8593a4 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Sat, 14 Feb 2026 13:46:21 -0800 Subject: [PATCH 1/3] add new ui build github workflow --- .github/workflows/test-litellm-ui-build.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test-litellm-ui-build.yml 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 From 2c02a71ef46caa47d7982894effcd0fc020df8cd Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Sat, 14 Feb 2026 13:52:26 -0800 Subject: [PATCH 2/3] addressing comments and build fail --- .github/workflows/test-litellm-ui-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-litellm-ui-build.yml b/.github/workflows/test-litellm-ui-build.yml index aaba761e8c7..06f7e944ba2 100644 --- a/.github/workflows/test-litellm-ui-build.yml +++ b/.github/workflows/test-litellm-ui-build.yml @@ -1,4 +1,6 @@ name: UI Build Check +permissions: + contents: read on: pull_request: @@ -23,7 +25,7 @@ jobs: cache-dependency-path: ui/litellm-dashboard/package-lock.json - name: Install dependencies - run: npm ci + run: npm install - name: Build run: npm run build From 6e70e59346a1c0b8c7eb747718718619d5e76730 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Sat, 14 Feb 2026 13:53:21 -0800 Subject: [PATCH 3/3] adding timeout --- .github/workflows/test-litellm-ui-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-litellm-ui-build.yml b/.github/workflows/test-litellm-ui-build.yml index 06f7e944ba2..b0a8b648a44 100644 --- a/.github/workflows/test-litellm-ui-build.yml +++ b/.github/workflows/test-litellm-ui-build.yml @@ -9,6 +9,7 @@ on: jobs: build-ui: runs-on: ubuntu-latest + timeout-minutes: 10 defaults: run: working-directory: ui/litellm-dashboard