Update changelogs and bump versions #6390
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: Visual Regression Tests | |
#Rationale for not including it in default CI workflow, Chromatic requires 'on push' vs 'on pull request' | |
on: | |
push: | |
paths: | |
- 'packages/libs/react-ui/**' | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
jobs: | |
visual-regression-tests: | |
name: '@kadena/react-ui' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
show-progress: false | |
- name: Runner setup | |
uses: ./.github/actions/runner-setup | |
- name: Build | |
run: pnpm run build --filter @kadena/react-ui... | |
- name: Publish Storybook | |
uses: chromaui/action@latest | |
with: | |
exitOnceUploaded: true | |
buildScriptName: 'build:storybook' | |
projectToken: ${{ secrets.REACT_UI_CHROMATIC_TOKEN }} | |
workingDir: packages/libs/react-ui | |
autoAcceptChanges: 'main' | |
onlyChanged: true # Required option to enable TurboSnap |