Skip to content

Commit c834856

Browse files
committed
fix(github): debug Spacing storybook
1 parent 311c4eb commit c834856

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/publish_storybook.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
secrets: inherit
2929
with:
3030
cacheKey: ${{ github.sha }}
31-
checkout_paths: packages
31+
checkout_paths: packages apps
3232
packages:
3333
name: Process packages
3434
runs-on: ubuntu-latest
@@ -83,15 +83,15 @@ jobs:
8383
echo "=== Downloaded files ==="
8484
ls -la packages/eds-core-react/storybook-build/
8585
echo ""
86-
echo "=== Checking index.json for TypographyNext ==="
87-
if grep -q "typography-typographynext" packages/eds-core-react/storybook-build/index.json; then
88-
echo "✅ TypographyNext FOUND in index.json"
86+
echo "=== Checking index.json for Foundation/Spacing ==="
87+
if grep -q "foundation-spacing--selectable-padding" packages/eds-core-react/storybook-build/index.json; then
88+
echo "✅ Foundation/Spacing SelectablePadding FOUND in index.json"
8989
else
90-
echo "❌ TypographyNext NOT FOUND in index.json"
90+
echo "❌ Foundation/Spacing SelectablePadding NOT FOUND in index.json"
9191
fi
9292
echo ""
93-
echo "=== Checking for Typography.new.stories file ==="
94-
ls -la packages/eds-core-react/storybook-build/assets/ | grep -i "typography.new" || echo "No Typography.new files found"
93+
echo "=== All Foundation/Spacing entries ==="
94+
grep -o '"foundation-spacing--[^"]*"' packages/eds-core-react/storybook-build/index.json || echo "No Foundation/Spacing entries found"
9595
9696
- name: Az CLI login 🔑
9797
uses: azure/login@v1

0 commit comments

Comments
 (0)