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
This commit is contained in:
Thomas Hallock 2025-09-28 08:19:03 -05:00
parent 8de4015250
commit ccca3d3415
1 changed files with 14 additions and 2 deletions

View File

@ -56,14 +56,26 @@ jobs:
- name: Generate Panda CSS - name: Generate Panda CSS
working-directory: apps/web 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 - name: Build abacus-react package
run: pnpm --filter @soroban/abacus-react build run: pnpm --filter @soroban/abacus-react build
- name: Build web Storybook - name: Build web Storybook
working-directory: apps/web 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 - name: Build abacus-react Storybook
working-directory: packages/abacus-react working-directory: packages/abacus-react