From ccca3d341580649927fe92840323e3737dcfe6d1 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sun, 28 Sep 2025 08:19:03 -0500 Subject: [PATCH] debug: add debugging output to storybook deployment workflow - Add file listing for styled-system directory after panda codegen - Add debugging output before storybook build to check for styles.css file - This will help diagnose why storybook can't find the CSS files --- .github/workflows/deploy-storybook.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-storybook.yml b/.github/workflows/deploy-storybook.yml index 5a5c1225..ff1c7e69 100644 --- a/.github/workflows/deploy-storybook.yml +++ b/.github/workflows/deploy-storybook.yml @@ -56,14 +56,26 @@ jobs: - name: Generate Panda CSS working-directory: apps/web - run: pnpm panda codegen + run: | + pnpm panda codegen + ls -la styled-system/ + echo "Generated CSS files:" + ls -la styled-system/*.css || echo "No CSS files found" - name: Build abacus-react package run: pnpm --filter @soroban/abacus-react build - name: Build web Storybook working-directory: apps/web - run: pnpm build-storybook --output-dir ../../storybook-web + run: | + echo "Current directory contents:" + ls -la + echo "Styled-system directory contents:" + ls -la styled-system/ || echo "No styled-system directory found" + echo "Checking for styles.css:" + ls -la styled-system/styles.css || echo "styles.css not found" + echo "Starting Storybook build..." + pnpm build-storybook --output-dir ../../storybook-web - name: Build abacus-react Storybook working-directory: packages/abacus-react