From 520165541d437e6dfe9a7160866ed94c2941f7d4 Mon Sep 17 00:00:00 2001 From: Rostislav Dugin Date: Tue, 20 Jan 2026 08:39:28 +0300 Subject: [PATCH] FIX (ci \ cd): Add build step after lint step for frontend to catch build issues --- .github/workflows/ci-release.yml | 5 +++++ .../ui/edit/EditDatabaseBaseInfoComponent.tsx | 8 ++++---- frontend/src/widgets/main/SidebarComponent.tsx | 13 ++----------- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 00f494f..e480bf5 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -81,6 +81,11 @@ jobs: cd frontend npm run lint + - name: Build frontend + run: | + cd frontend + npm run build + test-frontend: runs-on: ubuntu-latest needs: [lint-frontend] diff --git a/frontend/src/features/databases/ui/edit/EditDatabaseBaseInfoComponent.tsx b/frontend/src/features/databases/ui/edit/EditDatabaseBaseInfoComponent.tsx index 1fb3fb8..9185527 100644 --- a/frontend/src/features/databases/ui/edit/EditDatabaseBaseInfoComponent.tsx +++ b/frontend/src/features/databases/ui/edit/EditDatabaseBaseInfoComponent.tsx @@ -115,20 +115,20 @@ export const EditDatabaseBaseInfoComponent = ({
{isShowName && (
-
Name
+
Name
updateDatabase({ name: e.target.value })} size="small" placeholder="My favourite DB" - className="max-w-[200px] grow" + className="max-w-[150px] grow md:max-w-[200px]" />
)} {isShowType && (
-
Database type
+
Database type