refactor: 프로젝트 코드 컨벤션관련 defaultValue, spred props, 의미에 맞는 네이밍, 증복코드 개선 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chromatic Deployment | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/components/**' | |
- 'src/shared/components/**' | |
- 'src/shared/styles/**' | |
jobs: | |
chromatic-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # 전체 Git 이력을 가져오도록 설정 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.NEXT_PAYMENTS_CHROMATIC_TOKEN }} | |
projectToken: ${{ secrets.NEXT_PAYMENTS_CHROMATIC_TOKEN }} | |
exitZeroOnChanges: true |