From c32dc2387729a58d1b1849ba3790a659373fa499 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:17:22 +0900 Subject: [PATCH 01/14] =?UTF-8?q?chore(script):=20package.json=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/package.json b/packages/ui/package.json index cd44dd9..762d0c6 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -13,7 +13,7 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "test": "jest", - "test:watch": "jest --watch", + "test:watch": "jest --watchAll", "test:coverage": "jest --coverage", "test:ci": "jest --ci", "test:changed": "jest --changedSince=HEAD", From 5ca6736cbc2946ad35c4d41944894d7dc4432700 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:17:40 +0900 Subject: [PATCH 02/14] =?UTF-8?q?design(error):=20tailwind=20error=20?= =?UTF-8?q?=EC=83=89=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/tailwind.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui/tailwind.config.js b/packages/ui/tailwind.config.js index 54449c5..620886f 100644 --- a/packages/ui/tailwind.config.js +++ b/packages/ui/tailwind.config.js @@ -40,6 +40,7 @@ export default { DEFAULT: 'hsl(var(--brand-600))', foreground: 'hsl(var(--brand-600-foreground))', // error-foreground가 추가되었을 경우 }, + error: 'hsl(var(--error))', border: 'hsl(var(--border))', input: 'hsl(var(--input))', ring: 'hsl(var(--ring))', From 7fd2284d39498f106604badf0a13cc94aae8b4f9 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:17:53 +0900 Subject: [PATCH 03/14] =?UTF-8?q?feat(input):=20input=20=EC=8A=A4=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=EB=B6=81=20=EB=B0=8F=20ui=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/src/components/Input/input.stories.tsx | 79 +++++++++++++++++++ packages/ui/src/components/Input/input.tsx | 22 ++++++ packages/ui/src/components/index.ts | 3 +- 3 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 packages/ui/src/components/Input/input.stories.tsx create mode 100644 packages/ui/src/components/Input/input.tsx diff --git a/packages/ui/src/components/Input/input.stories.tsx b/packages/ui/src/components/Input/input.stories.tsx new file mode 100644 index 0000000..abf92a3 --- /dev/null +++ b/packages/ui/src/components/Input/input.stories.tsx @@ -0,0 +1,79 @@ +// Input.stories.tsx +import type { Meta, StoryObj } from '@storybook/react'; + +import { Input } from './input'; + +const meta = { + title: 'Components/Input', + component: Input, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const Default: Story = { + args: { + placeholder: 'Enter text...', + }, +}; + +export const Widths: Story = { + decorators: [ + (Story) => ( +
+
+
+

Full width (default)

+ +
+
+

w-96

+ +
+
+

w-72

+ +
+
+

w-1/2

+ +
+
+
+ ), + ], + args: { + placeholder: 'Full width input...', + }, +}; + +export const Disabled: Story = { + args: { + placeholder: 'Disabled input', + disabled: true, + }, +}; + +export const WithValue: Story = { + args: { + value: 'Sample text', + }, +}; + +export const WithType: Story = { + args: { + type: 'password', + placeholder: 'Enter password', + }, +}; + +export const WithError: Story = { + args: { + className: 'border-error', + placeholder: 'Error state', + }, +}; diff --git a/packages/ui/src/components/Input/input.tsx b/packages/ui/src/components/Input/input.tsx new file mode 100644 index 0000000..1969bb3 --- /dev/null +++ b/packages/ui/src/components/Input/input.tsx @@ -0,0 +1,22 @@ +import * as React from 'react'; + +import { cn } from '@/lib/utils'; + +const Input = React.forwardRef>( + ({ className, type, ...props }, ref) => { + return ( + + ); + }, +); +Input.displayName = 'Input'; + +export { Input }; diff --git a/packages/ui/src/components/index.ts b/packages/ui/src/components/index.ts index 7d2b0dc..6ccf0fa 100644 --- a/packages/ui/src/components/index.ts +++ b/packages/ui/src/components/index.ts @@ -1 +1,2 @@ -export { Button as default } from './Button/button'; +export { Button } from './Button/button'; +export { Input } from './Input/input'; From e76c4c75fb835c2474a1259616f4661dbdf4e86a Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:24:41 +0900 Subject: [PATCH 04/14] =?UTF-8?q?feat(input=5Fvalue):=20value=20Controlled?= =?UTF-8?q?=20=EB=82=B4=EC=9A=A9=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/src/components/Input/input.stories.tsx | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/components/Input/input.stories.tsx b/packages/ui/src/components/Input/input.stories.tsx index abf92a3..a4b6648 100644 --- a/packages/ui/src/components/Input/input.stories.tsx +++ b/packages/ui/src/components/Input/input.stories.tsx @@ -1,8 +1,11 @@ // Input.stories.tsx import type { Meta, StoryObj } from '@storybook/react'; +import React from 'react'; import { Input } from './input'; +import { Button } from '@/components'; + const meta = { title: 'Components/Input', component: Input, @@ -58,9 +61,20 @@ export const Disabled: Story = { }, }; -export const WithValue: Story = { - args: { - value: 'Sample text', +export const WithValue_Controlled: Story = { + render: () => { + const [value, setValue] = React.useState('Sample text'); + + return ( +
+ setValue(e.target.value)} + placeholder="Type to change..." + /> + +
+ ); }, }; From 5d3cdbce939774d25f05e5b92df5b36cd351e97c Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:29:38 +0900 Subject: [PATCH 05/14] =?UTF-8?q?test(input):=20input=20test=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/src/components/Input/input.test.tsx | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/ui/src/components/Input/input.test.tsx diff --git a/packages/ui/src/components/Input/input.test.tsx b/packages/ui/src/components/Input/input.test.tsx new file mode 100644 index 0000000..3426108 --- /dev/null +++ b/packages/ui/src/components/Input/input.test.tsx @@ -0,0 +1,39 @@ +// Input.test.tsx +import { render, screen, fireEvent } from '@testing-library/react'; +import React from 'react'; + +import { Input } from './input'; + +describe('Input Component', () => { + it('renders correctly', () => { + render(); + const input = screen.getByPlaceholderText('Test input'); + expect(input).toBeInTheDocument(); + }); + + it('accepts value changes', () => { + render(); + const input = screen.getByRole('textbox'); + + fireEvent.change(input, { target: { value: 'Test value' } }); + expect(input).toHaveValue('Test value'); + }); + + it('forwards ref correctly', () => { + const ref = React.createRef(); + render(); + expect(ref.current).toBeInstanceOf(HTMLInputElement); + }); + + it('handles disabled state', () => { + render(); + const input = screen.getByRole('textbox'); + expect(input).toBeDisabled(); + }); + + it('handles different input types', () => { + render(); + const input = screen.getByRole('textbox'); + expect(input).toHaveAttribute('type', 'email'); + }); +}); From c79bae94567b3d199f476810db03d378c4f97edc Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 16:51:44 +0900 Subject: [PATCH 06/14] =?UTF-8?q?env(yml):=20=ED=8C=8C=EC=9D=BC=EB=AA=85?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{chromatic-pr.yml => chromatic-pr.check.yml} | 0 .github/workflows/{pr-check.yml => pr-push.check.yml} | 2 +- .github/workflows/{ui-packaging-test.yml => unit.test.yml} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{chromatic-pr.yml => chromatic-pr.check.yml} (100%) rename .github/workflows/{pr-check.yml => pr-push.check.yml} (97%) rename .github/workflows/{ui-packaging-test.yml => unit.test.yml} (96%) diff --git a/.github/workflows/chromatic-pr.yml b/.github/workflows/chromatic-pr.check.yml similarity index 100% rename from .github/workflows/chromatic-pr.yml rename to .github/workflows/chromatic-pr.check.yml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-push.check.yml similarity index 97% rename from .github/workflows/pr-check.yml rename to .github/workflows/pr-push.check.yml index 6b29b1e..30ee7f4 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-push.check.yml @@ -1,4 +1,4 @@ -name: PR and Push Check +name: PR and Push Check Test on: pull_request: diff --git a/.github/workflows/ui-packaging-test.yml b/.github/workflows/unit.test.yml similarity index 96% rename from .github/workflows/ui-packaging-test.yml rename to .github/workflows/unit.test.yml index dec6324..9bc1753 100644 --- a/.github/workflows/ui-packaging-test.yml +++ b/.github/workflows/unit.test.yml @@ -1,4 +1,4 @@ -name: UI Package Test +name: UI Unit Test on: pull_request: From 43a70404c7de8e51f43983ba79e755d386a1550b Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:01:31 +0900 Subject: [PATCH 07/14] =?UTF-8?q?env(script):=20yml=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EB=B3=91=EB=A0=AC=20=EC=B2=98=EB=A6=AC=20=EB=B0=8F=20test?= =?UTF-8?q?=20=EC=BB=A4=EB=B2=84=EB=A6=AC=EC=A7=80=20ai=20=EB=B4=87=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=9E=91=EC=84=B1=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chromatic-pr.check.yml | 2 +- .github/workflows/pr-push.check.yml | 4 +-- .github/workflows/unit.test.yml | 37 +++++++++++++++++++----- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/.github/workflows/chromatic-pr.check.yml b/.github/workflows/chromatic-pr.check.yml index f955df7..5715b68 100644 --- a/.github/workflows/chromatic-pr.check.yml +++ b/.github/workflows/chromatic-pr.check.yml @@ -30,7 +30,7 @@ jobs: - name: Install dependencies run: | - yarn install --immutable + yarn install --immutable --inline-builds yarn dlx @yarnpkg/sdks vscode - name: Build Storybook diff --git a/.github/workflows/pr-push.check.yml b/.github/workflows/pr-push.check.yml index 30ee7f4..7e25ec6 100644 --- a/.github/workflows/pr-push.check.yml +++ b/.github/workflows/pr-push.check.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '18' # 프로젝트에서 사용하는 Node.js 버전으로 설정 + node-version: '18' - name: Cache yarn dependencies uses: actions/cache@v3 @@ -41,4 +41,4 @@ jobs: run: yarn format --check - name: Build the project - run: yarn build # 빌드 체크 추가 + run: yarn build diff --git a/.github/workflows/unit.test.yml b/.github/workflows/unit.test.yml index 9bc1753..8a5a518 100644 --- a/.github/workflows/unit.test.yml +++ b/.github/workflows/unit.test.yml @@ -1,5 +1,9 @@ name: UI Unit Test +permissions: + pull-requests: write + contents: read + on: pull_request: types: [opened, synchronize, reopened] @@ -18,16 +22,35 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18' - - - name: Setup Yarn + + - name: Set up Yarn 2 (Berry) run: | corepack enable corepack prepare yarn@4.5.3 --activate - name: Install dependencies - run: yarn install --immutable - - - name: Run tests + run: yarn install --immutable --inline-builds + + - name: Run tests with coverage + run: yarn test --coverage + + - name: Get Coverage Info + id: coverage run: | - yarn add -D jest @testing-library/jest-dom @testing-library/dom @testing-library/react - yarn test \ No newline at end of file + COVERAGE_REPORT=$(cat coverage/coverage-summary.json) + echo "statements=$(echo $COVERAGE_REPORT | jq -r '.total.statements.pct')" >> $GITHUB_OUTPUT + echo "branches=$(echo $COVERAGE_REPORT | jq -r '.total.branches.pct')" >> $GITHUB_OUTPUT + echo "functions=$(echo $COVERAGE_REPORT | jq -r '.total.functions.pct')" >> $GITHUB_OUTPUT + echo "lines=$(echo $COVERAGE_REPORT | jq -r '.total.lines.pct')" >> $GITHUB_OUTPUT + + - name: Comment PR with Coverage + uses: thollander/actions-comment-pull-request@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + message: | + ## Test Coverage Report 📊 + - Statements: ${{ steps.coverage.outputs.statements }}% + - Branches: ${{ steps.coverage.outputs.branches }}% + - Functions: ${{ steps.coverage.outputs.functions }}% + - Lines: ${{ steps.coverage.outputs.lines }}% From acf3f63546036189c7c4e4c5a059e5fc96bb98c6 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:04:12 +0900 Subject: [PATCH 08/14] =?UTF-8?q?Fix(yml):=20=EB=B3=91=EB=A0=AC=20?= =?UTF-8?q?=EC=84=A4=EC=B9=98=20=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20jest=20?= =?UTF-8?q?=EC=BB=A4=EB=B2=84=EB=A6=AC=EC=A7=80=20=EB=82=B4=EC=9A=A9=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chromatic-pr.check.yml | 2 +- packages/ui/package.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chromatic-pr.check.yml b/.github/workflows/chromatic-pr.check.yml index 5715b68..d187a01 100644 --- a/.github/workflows/chromatic-pr.check.yml +++ b/.github/workflows/chromatic-pr.check.yml @@ -30,7 +30,7 @@ jobs: - name: Install dependencies run: | - yarn install --immutable --inline-builds + yarn install --immutable yarn dlx @yarnpkg/sdks vscode - name: Build Storybook diff --git a/packages/ui/package.json b/packages/ui/package.json index 762d0c6..fb38cd5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -83,5 +83,9 @@ "extends": [ "plugin:storybook/recommended" ] + }, + "jest": { + "coverageReporters": ["json-summary", "text", "lcov"], + "coverageDirectory": "coverage" } } From 8472d18701c27fbe27a3e95671049078e744e1af Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:08:02 +0900 Subject: [PATCH 09/14] =?UTF-8?q?env(unitest):=20test=20coverage=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=84=A4=EC=A0=95=20=EB=B0=8F=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/unit.test.yml | 2 +- packages/ui/jest.config.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit.test.yml b/.github/workflows/unit.test.yml index 8a5a518..1c6eb60 100644 --- a/.github/workflows/unit.test.yml +++ b/.github/workflows/unit.test.yml @@ -29,7 +29,7 @@ jobs: corepack prepare yarn@4.5.3 --activate - name: Install dependencies - run: yarn install --immutable --inline-builds + run: yarn install --immutable - name: Run tests with coverage run: yarn test --coverage diff --git a/packages/ui/jest.config.js b/packages/ui/jest.config.js index 6d9fc80..d02e555 100644 --- a/packages/ui/jest.config.js +++ b/packages/ui/jest.config.js @@ -10,5 +10,16 @@ export default { transform: { '^.+\\.(ts|tsx)$': ['ts-jest'], '\\.css$': 'jest-transform-css' + }, + collectCoverage: true, + coverageDirectory: 'coverage', + coverageReporters: ['json-summary', 'text', 'lcov'], + coverageThreshold: { + global: { + branches: 80, + functions: 80, + lines: 80, + statements: 80 + } } } \ No newline at end of file From f251a538d26bbdb96294c0227af27e784acec0a2 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:10:14 +0900 Subject: [PATCH 10/14] =?UTF-8?q?remove(unittest):=20jest=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/ui/package.json b/packages/ui/package.json index fb38cd5..762d0c6 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -83,9 +83,5 @@ "extends": [ "plugin:storybook/recommended" ] - }, - "jest": { - "coverageReporters": ["json-summary", "text", "lcov"], - "coverageDirectory": "coverage" } } From 75651acf4035d50410a1ec53676e6af82d9afd37 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:37:29 +0900 Subject: [PATCH 11/14] =?UTF-8?q?test(coverage):=20=EC=BB=A4=EB=B2=84?= =?UTF-8?q?=EB=A6=AC=EC=A7=80=2080%=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/src/components/Button/button.test.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/Button/button.test.tsx b/packages/ui/src/components/Button/button.test.tsx index 2c17ba6..cc1b689 100644 --- a/packages/ui/src/components/Button/button.test.tsx +++ b/packages/ui/src/components/Button/button.test.tsx @@ -1,5 +1,6 @@ import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; +import React from 'react'; import { Button } from './button'; @@ -17,7 +18,18 @@ describe('Button', () => { }); it('renders with variant classes', () => { - render(); - expect(screen.getByText('Delete')).toHaveClass('bg-destructive'); + render(); + const button = screen.getByRole('button', { name: 'Default' }); + expect(button.tagName).toBe('BUTTON'); + }); + + it('renders as a custom component when asChild is true', () => { + render( + , + ); + const link = screen.getByRole('link', { name: 'Link' }); + expect(link).toHaveAttribute('href', '/test'); }); }); From bcb8de641eb918ba22e40d0419cb5a037e1b7521 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:44:52 +0900 Subject: [PATCH 12/14] =?UTF-8?q?env(script):=20Chromatic=20PR=20Check=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chromatic-pr.check.yml | 2 +- packages/ui/vite.config.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chromatic-pr.check.yml b/.github/workflows/chromatic-pr.check.yml index d187a01..d787be4 100644 --- a/.github/workflows/chromatic-pr.check.yml +++ b/.github/workflows/chromatic-pr.check.yml @@ -1,4 +1,4 @@ -name: 'Chromatic PR Review' +name: 'Chromatic PR Check' permissions: pull-requests: write diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.ts index 3bd6c73..eddd86a 100644 --- a/packages/ui/vite.config.ts +++ b/packages/ui/vite.config.ts @@ -20,5 +20,7 @@ export default defineConfig({ rollupOptions: { external: ['react', 'react-dom'], }, + sourcemap: true, + reportCompressedSize: false, }, }); From e2df11360c3cdf2a353b795db8c5b836b247fb57 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:47:25 +0900 Subject: [PATCH 13/14] =?UTF-8?q?env(vite):=20vite=20setting=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.ts index eddd86a..47947fb 100644 --- a/packages/ui/vite.config.ts +++ b/packages/ui/vite.config.ts @@ -20,7 +20,10 @@ export default defineConfig({ rollupOptions: { external: ['react', 'react-dom'], }, + sourcemap: true, reportCompressedSize: false, + chunkSizeWarningLimit: 1000, + manifest: true, }, }); From 7a7bff39b23949b3073502f9c86a0decf5db2439 Mon Sep 17 00:00:00 2001 From: KimKyuHoi Date: Fri, 6 Dec 2024 17:50:56 +0900 Subject: [PATCH 14/14] =?UTF-8?q?env(pr-check):=20chromatic=20webpack=20st?= =?UTF-8?q?ats=20json=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chromatic-pr.check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chromatic-pr.check.yml b/.github/workflows/chromatic-pr.check.yml index d787be4..c3df347 100644 --- a/.github/workflows/chromatic-pr.check.yml +++ b/.github/workflows/chromatic-pr.check.yml @@ -34,7 +34,7 @@ jobs: yarn dlx @yarnpkg/sdks vscode - name: Build Storybook - run: yarn workspace @zagdang/ui build-storybook + run: yarn workspace @zagdang/ui build-storybook --webpack-stats-json - name: Create Preview id: chromatic