From eff5cf30224b75746a04a854bd5478a750b0834e Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 30 Nov 2023 11:05:47 +0000 Subject: [PATCH] Lint and fix CI --- .github/actions/tests/action.yml | 2 +- src/nationalarchives/components/button/button.stories.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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, },