キー割り当て画面からホットキー設定ダイアログを抜き出してコンポーネント化する (#2209) #7
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
# Chromaticにmainブランチをpushする | |
# お試し運用中なので消滅する可能性あり | |
# TODO: Enable TurboSnap | |
# https://www.chromatic.com/docs/github-actions/#enable-turbosnap | |
name: "Chromatic" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
chromatic: | |
name: Run Chromatic | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'VOICEVOX' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup environment | |
uses: ./.github/actions/setup-environment | |
- name: Run Chromatic | |
uses: chromaui/action@v11 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
buildScriptName: "storybook:build" | |
exitZeroOnChanges: true |