diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d0a0b842..d6579eec 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,6 +23,11 @@ jobs: npm ci working-directory: docs + - name: Lint docs + run: | + npm run check + working-directory: docs + - name: Build docs run: | NODE_ENV=production npm run build diff --git a/docs/stories/common/components/product-info/01-primary.stories.tsx b/docs/stories/common/components/product-info/01-primary.stories.tsx index 97a11b51..7ba1c840 100644 --- a/docs/stories/common/components/product-info/01-primary.stories.tsx +++ b/docs/stories/common/components/product-info/01-primary.stories.tsx @@ -18,7 +18,7 @@ export default function Primary() { return (
- + +
- + +
- + - + - + - + +
- + - + {items.map((item, index) => ( - + {items.map((item, index) => ( - + {items.map((item, index) => ( - + ( { e.preventDefault(); diff --git a/docs/stories/desktop/components/product-carousel/05-few-items.stories.tsx b/docs/stories/desktop/components/product-carousel/05-few-items.stories.tsx index eed70355..52f2541e 100644 --- a/docs/stories/desktop/components/product-carousel/05-few-items.stories.tsx +++ b/docs/stories/desktop/components/product-carousel/05-few-items.stories.tsx @@ -34,7 +34,7 @@ export default function FewItems() { {items.slice(0, 4).map((item, index) => ( { e.preventDefault(); diff --git a/docs/stories/desktop/components/product-carousel/06-custom-item-size.stories.tsx b/docs/stories/desktop/components/product-carousel/06-custom-item-size.stories.tsx index 2129261c..ee604259 100644 --- a/docs/stories/desktop/components/product-carousel/06-custom-item-size.stories.tsx +++ b/docs/stories/desktop/components/product-carousel/06-custom-item-size.stories.tsx @@ -22,7 +22,7 @@ export default function CustomItemSize() { > {items.map((item, index) => ( - + {items.map((item, index) => ( - + {items.map((item, index) => ( - + {items.map((item, index) => ( - +