Skip to content

Merge branch 'main' into feat/add-fund-test-account #6606

Merge branch 'main' into feat/add-fund-test-account

Merge branch 'main' into feat/add-fund-test-account #6606

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/kode-ui/**'
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
visual-regression-tests:
name: '@kadena/kode-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/kode-ui...
- name: Publish Storybook
uses: chromaui/action@latest
with:
exitOnceUploaded: true
buildScriptName: 'build:storybook'
projectToken: ${{ secrets.REACT_UI_CHROMATIC_TOKEN }}
workingDir: packages/libs/kode-ui
autoAcceptChanges: 'main'
onlyChanged: true # Required option to enable TurboSnap