diff --git a/.github/actions/tests/action.yml b/.github/actions/tests/action.yml index 642771ec..b13b8729 100644 --- a/.github/actions/tests/action.yml +++ b/.github/actions/tests/action.yml @@ -14,7 +14,7 @@ runs: run: npm ci shell: bash - name: Validate HTML - run: npm run validatehtml + run: mkdir temp && npm run validatehtml shell: bash - name: Build Storybook run: npm run build diff --git a/src/nationalarchives/components/button/button.stories.js b/src/nationalarchives/components/button/button.stories.js index 505da17d..5c83e150 100644 --- a/src/nationalarchives/components/button/button.stories.js +++ b/src/nationalarchives/components/button/button.stories.js @@ -42,7 +42,8 @@ const Template = ({ iconOnly, iconOnlyOnMobile, rightAlignIcon, - buttonElement,buttonType, + buttonElement, + buttonType, classes, attributes, }) => @@ -59,7 +60,8 @@ const Template = ({ iconOnly, iconOnlyOnMobile, rightAlignIcon, - buttonElement,buttonType, + buttonElement, + buttonType, classes, attributes, },