From 91beb55c6f49671a96dafe9c61b224641dff3c92 Mon Sep 17 00:00:00 2001 From: "Victor A." <52110451+cs50victor@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:09:25 -0500 Subject: [PATCH] fix: ci --- .github/workflows/ci-ts.yml | 14 +++++++++++--- www/app/fal/page.tsx | 2 -- www/components/excalidrawWrapper.tsx | 13 ------------- 3 files changed, 11 insertions(+), 18 deletions(-) delete mode 100644 www/components/excalidrawWrapper.tsx diff --git a/.github/workflows/ci-ts.yml b/.github/workflows/ci-ts.yml index 87001d0..7231259 100644 --- a/.github/workflows/ci-ts.yml +++ b/.github/workflows/ci-ts.yml @@ -36,6 +36,14 @@ jobs: - name: Install Global Dependencies run: bun install --ignore-scripts - # Errors out on build when separated into multiple steps - - name: Install, Build, and Lint Demo - run: cd demo && bun install --ignore-scripts && bun run build && bun run lint + - name: Install + working-directory: ./www + run: bun install --ignore-scripts + + - name: Build + working-directory: ./www + run: bun run build + + - name: Lint + working-directory: ./www + run: bun run lint diff --git a/www/app/fal/page.tsx b/www/app/fal/page.tsx index 24cd29a..8ca9f28 100644 --- a/www/app/fal/page.tsx +++ b/www/app/fal/page.tsx @@ -28,8 +28,6 @@ const InputCanvas = dynamic( ); - - export default function Home() { const [input, setInput] = useState('masterpice, best quality, A cinematic shot of a baby raccoon wearing an intricate italian priest robe') const [image, setImage] = useState(null) diff --git a/www/components/excalidrawWrapper.tsx b/www/components/excalidrawWrapper.tsx deleted file mode 100644 index 7461717..0000000 --- a/www/components/excalidrawWrapper.tsx +++ /dev/null @@ -1,13 +0,0 @@ -"use client" - -import dynamic from "next/dynamic"; -const Excalidraw = dynamic( - async () => (await import("@excalidraw/excalidraw")).Excalidraw, - { - ssr: false, - }, -); - -export default function (){ - return ; -} \ No newline at end of file