diff --git a/scripts/makefile/front.mk b/scripts/makefile/front.mk index 5ee38d429..53232b24a 100644 --- a/scripts/makefile/front.mk +++ b/scripts/makefile/front.mk @@ -35,6 +35,7 @@ front-build: $(call frontexec, node -v); \ $(call frontexec, yarn -v); \ $(call frontexec, yarn build --verbose); \ + $(call frontexec, yarn build-storybook -c .storybook -o dist/storybook --verbose) else \ echo "- Theme directory defined in .env file was not found. Skipping front-build."; \ fi @@ -49,9 +50,3 @@ lint: docker pull $(IMAGE_FRONT) $(call frontexec, yarn install --ignore-optional --check-files --prod) $(call frontexec, yarn lint-fix) - -storybook: - @echo "Running storybook..." - docker pull $(IMAGE_FRONT) - $(call frontexec, yarn install --ignore-optional --check-files) - $(call frontexec, yarn build-storybook --verbose)