Skip to content

Commit

Permalink
Merge pull request #2 from osohyun0224/master
Browse files Browse the repository at this point in the history
🚀 Deploy: 스토리북 크로마틱 자동 배포를 위한 pull request
  • Loading branch information
osohyun0224 authored Apr 17, 2024
2 parents 3728a7b + 1d40709 commit ada4e01
Show file tree
Hide file tree
Showing 33 changed files with 12,612 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Chromatic Deployment'

on:
push:
branches: ['master']

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
22 changes: 22 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/** @type { import('@storybook/react-vite').StorybookConfig } */
const config = {
stories: [
"../stories/**/*.mdx",
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
],
addons: [
"@storybook/addon-onboarding",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/react-vite",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;
13 changes: 13 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type { import('@storybook/react').Preview } */
const preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};

export default preview;
66 changes: 66 additions & 0 deletions build-storybook.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@

> vacgom-design-system@1.0.0 build-storybook
> storybook build --output-dir /var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow

@storybook/cli v8.0.8

info => Cleaning outputDir: ../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow
info => Loading presets
info => Building manager..
info => Manager built (177 ms)
info => Building preview..
vite v5.2.9 building for production...
transforming...
✓ 586 modules transformed.
rendering chunks...
computing gzip size...
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/context-C0qIqeS4.png 6.12 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/styling-Bk6zjRzU.png 7.24 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/iframe.html 13.13 kB │ gzip: 3.63 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/docs---vsFbMi.png 27.88 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/share-DGA-UcQf.png 40.77 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/accessibility-W_h2acOZ.png 42.34 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/figma-plugin-CH2hELiO.png 44.25 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/theming-D6WJLNoW.png 44.37 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/testing-cbzR9l9r.png 49.31 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/addon-library-BWUCAmyN.png 467.37 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Header-BjLH3naM.css 0.51 kB │ gzip: 0.31 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Button-BfyGbg8N.css 0.52 kB │ gzip: 0.29 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Page-B9ntr4df.css 0.93 kB │ gzip: 0.39 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-B4GcaC1c.js 0.07 kB │ gzip: 0.08 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-CIRcjyVj.js 0.11 kB │ gzip: 0.11 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/WithTooltip-Y7J54OF7-kPi12fIQ.js 0.33 kB │ gzip: 0.20 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/syntaxhighlighter-JOJW2KGS-zIuu_4nV.js 0.37 kB │ gzip: 0.24 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-z5U8iC57.js 0.42 kB │ gzip: 0.28 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/react-18-B-OKcmzb.js 0.55 kB │ gzip: 0.34 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-PxUn-cIn.js 0.64 kB │ gzip: 0.44 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-Bi_jGxxs.js 0.66 kB │ gzip: 0.43 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-DrFu-skq.js 0.77 kB │ gzip: 0.47 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-YMbfICiA.js 0.79 kB │ gzip: 0.51 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-B7d6hwUB.js 0.85 kB │ gzip: 0.53 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-Cv3rAi2i.js 0.86 kB │ gzip: 0.55 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Header.stories-D0cYJijX.js 0.88 kB │ gzip: 0.45 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/DocsRenderer-K4EAMTCU-yT7sTJKR.js 1.25 kB │ gzip: 0.68 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/entry-preview-kGuIN3g4.js 1.26 kB │ gzip: 0.73 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Button-DjqGvIyQ.js 1.41 kB │ gzip: 0.64 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Button.stories-DOWPmNz4.js 1.51 kB │ gzip: 0.56 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Header-CvbxfFwl.js 1.78 kB │ gzip: 0.78 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-Dkj0J1ds.js 2.59 kB │ gzip: 1.26 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-CwqMn10d.js 3.19 kB │ gzip: 1.37 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-DbT1mggi.js 3.52 kB │ gzip: 1.71 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Page.stories-DvmUyXY_.js 3.61 kB │ gzip: 1.53 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/iframe-B4eGIy_r.js 4.50 kB │ gzip: 1.81 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-BAz7FMXc.js 7.62 kB │ gzip: 1.56 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-BBkUAzwr.js 7.80 kB │ gzip: 3.07 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/preview-Db4Idchh.js 8.11 kB │ gzip: 3.08 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Configure-C8Pu7xeu.js 26.65 kB │ gzip: 11.48 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/Color-RQJUDNI5-DyK5T0qn.js 30.92 kB │ gzip: 11.57 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-DrlA5mbP.js 78.76 kB │ gzip: 23.48 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-PqR-_bA4.js 134.01 kB │ gzip: 43.17 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/formatter-B5HCVTEV-CIIzxgBe.js 210.74 kB │ gzip: 70.28 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/entry-preview-docs-DCZ9HOHD.js 212.76 kB │ gzip: 65.93 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-Cf7ivctP.js 583.19 kB │ gzip: 174.29 kB
../../../var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow/assets/index-BASH1HpE.js 584.00 kB │ gzip: 154.84 kB
✓ built in 3.98s
info => Preview built (4.44 s)
info => Output directory: /var/folders/00/jldrf1nn7bjbg65d3gv1wcp40000gn/T/chromatic--65154-yxmHQiGMwmow
Loading

0 comments on commit ada4e01

Please sign in to comment.