Skip to content

fix: reposition first button and add fading for more feedback. Also f… #6030

fix: reposition first button and add fading for more feedback. Also f…

fix: reposition first button and add fading for more feedback. Also f… #6030

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