From 661ae0c48789d2e17c7e8440711bb0a7d05e41b1 Mon Sep 17 00:00:00 2001 From: Viktor Ohad Date: Tue, 22 Jun 2021 13:57:40 +0200 Subject: [PATCH] add upload artifact step --- .github/workflows/vrt.yml | 7 ++++++- packages/ui-position/src/Position/index.tsx | 2 +- packages/ui-spinner/src/Spinner/index.tsx | 2 +- packages/ui-view/src/View/index.tsx | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/vrt.yml b/.github/workflows/vrt.yml index d580227c5d..3e1d6b0479 100644 --- a/.github/workflows/vrt.yml +++ b/.github/workflows/vrt.yml @@ -42,5 +42,10 @@ jobs: yarn build:storybook - name: Publish to Chromatic run: | - cd ./packages/__examples__/ + cd ./packages/__examples__/__build__ ls -al + - name: Upload the builded stories directory + uses: actions/upload-artifact@v2 + with: + name: builded-storybook-artifact + path: ./packages/__examples__/__build__ diff --git a/packages/ui-position/src/Position/index.tsx b/packages/ui-position/src/Position/index.tsx index 8db60766e3..3e3768f4bb 100644 --- a/packages/ui-position/src/Position/index.tsx +++ b/packages/ui-position/src/Position/index.tsx @@ -68,7 +68,7 @@ type Props = { shouldPositionOverTarget?: boolean onPositionChanged?: (...args: any[]) => any onPositioned?: (...args: any[]) => any - test: string + test?: string } /** diff --git a/packages/ui-spinner/src/Spinner/index.tsx b/packages/ui-spinner/src/Spinner/index.tsx index 08c6982994..fa4eaa7e43 100644 --- a/packages/ui-spinner/src/Spinner/index.tsx +++ b/packages/ui-spinner/src/Spinner/index.tsx @@ -45,7 +45,7 @@ type Props = { margin?: any // TODO: ThemeablePropTypes.spacing elementRef?: (...args: any[]) => any as?: React.ReactElement - test: string + test?: string } /** diff --git a/packages/ui-view/src/View/index.tsx b/packages/ui-view/src/View/index.tsx index 207b5c83c8..76578b9981 100644 --- a/packages/ui-view/src/View/index.tsx +++ b/packages/ui-view/src/View/index.tsx @@ -107,7 +107,7 @@ type Props = { borderRadius: keyof typeof ThemeablePropValues.BORDER_RADII shadow: keyof typeof ThemeablePropValues.SHADOW_TYPES stacking: keyof typeof ThemeablePropValues.STACKING_TYPES - test: string + test?: string } /**