Storybook + Chromatic + GitHub Action 설정 #317
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR의 목적을 알려주세요.
close #314
어떤 변경사항이 있는지 알려주세요.
어떤 과정으로 세팅했는지 노션에 함 정리해봤습니다~!
: https://half-catsup-728.notion.site/Storybook-Chromatic-GitHub-Actions-1ae64fc97c9c4555a071aac0f46c1f0b?pvs=4
.github/workflows/chromatic.yml
파일에서 메인 브랜치로 푸시나 PR이 올라가면 크로마틱이 돌아가 스토리북 배포가 되도록 설정해보았습니다.중점적으로 봐주었으면 하는 부분
컴포넌트명.stories.tsx
로 하는 게 일반적인가..? 우린 컴포넌트 파일명은 다index.tsx
인데 이것과 별개로 컴포넌트명으로 파일 생성하면 되나욥