Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: :green_heart: fixed build and added it to pipeline

Andrejcb595c81d0ba
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c448e4e50..dab2d2ca4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,7 +8,7 @@ on:
jobs:
build:
- name: Lint
+ name: Build and Lint
timeout-minutes: 15
runs-on: ubuntu-latest
@@ -32,4 +32,7 @@ jobs:
run: pnpm install
- name: Lint project with Biome
+ run: pnpm format-and-lint
+
+ - name: Build project
run: pnpm format-and-lint
\ No newline at end of file
diff --git a/apps/web/src/components/common/sidebar/sidebar-content.tsx b/apps/web/src/components/common/sidebar/sidebar-content.tsx
index 52c4c9afc..ef4d26073 100644
--- a/apps/web/src/components/common/sidebar/sidebar-content.tsx
+++ b/apps/web/src/components/common/sidebar/sidebar-content.tsx
@@ -1,4 +1,4 @@
-import type { User } from "@/components/providers/auth-provider";
+import type { User } from "@/types/user";
import { Folder, Plus, Settings, Users } from "lucide-react";
import { Avatar, AvatarFallback } from "../../ui/avatar";
import SignOutButton from "./sign-out-button";
@@ -17,6 +17,8 @@ export function SidebarContent({
setCurrentWorkspace,
currentUser,
}: SidebarContentProps) {
+ if (!currentUser) return null;
+
return (
<>
<nav className="flex-1 overflow-y-auto p-3">
diff --git a/biome.json b/biome.json
index 3907a5009..b3a2a7496 100644
--- a/biome.json
+++ b/biome.json
@@ -7,7 +7,7 @@
},
"files": {
"ignoreUnknown": false,
- "ignore": ["**/tsconfig*.json", "routeTree.gen.ts"]
+ "ignore": ["**/tsconfig*.json", "routeTree.gen.ts", "dist", "cache"]
},
"formatter": {
"enabled": true,