From fe695b1096fd929aa5489c775c9d17a9a3cf47df Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Thu, 1 Sep 2022 15:56:59 -0300 Subject: [PATCH] fix: build-storybook layout --- .github/workflows/cd.yml | 1 + .github/workflows/ci-pr-opened.yml | 1 + packages/layout/package.json | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 151867746a..611c9e39c6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,6 +44,7 @@ jobs: name: storybooks path: | packages/fuselage/storybook-static + packages/layout/storybook-static packages/fuselage-ui-kit/storybook-static packages/onboarding-ui/storybook-static packages/uikit-playground/build diff --git a/.github/workflows/ci-pr-opened.yml b/.github/workflows/ci-pr-opened.yml index a15ee63847..8e64914b48 100644 --- a/.github/workflows/ci-pr-opened.yml +++ b/.github/workflows/ci-pr-opened.yml @@ -42,6 +42,7 @@ jobs: name: storybooks path: | fuselage/storybook-static + layout/storybook-static uikit-playground/build fuselage-ui-kit/storybook-static onboarding-ui/storybook-static diff --git a/packages/layout/package.json b/packages/layout/package.json index ab89169ef2..a3d597d7f3 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -36,8 +36,8 @@ "lint-staged": "lint-staged", "test": "jest --runInBand", "bump-next": "bump-next", - "docs": "typedoc", - "storybook": "start-storybook -p 6006" + "storybook": "start-storybook -p 6006", + "build-storybook": "build-storybook -o ../../static/layout" }, "peerDependencies": { "@rocket.chat/fuselage": "*",