refactor: event handler의 경우 handle pre-fix를 활용하도록 개선 #32
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 |