Merge pull request #326 from yn1323/renovate/clerk-testing-1.x #339
This file contains hidden or 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_on_merge_to_develop | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| chromatic_on_merge_to_develop: | |
| runs-on: ubuntu-latest | |
| environment: Preview | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Storybook Build | |
| run: pnpm storybook:build | |
| - name: Publish to Chromatic | |
| uses: chromaui/action@latest | |
| with: | |
| onlyChanged: true | |
| autoAcceptChanges: true | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
| storybookBuildDir: storybook-static |