test(ui-date-input): add new tests for DateInput2 #4650
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: AUTO Visual Regression Test | |
on: | |
push: | |
branches: | |
- master | |
- v9_maintenance | |
- v8_maintenance | |
pull_request: | |
branches: | |
- master | |
- v9_maintenance | |
- v8_maintenance | |
jobs: | |
chromatic_deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Node 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install project dependencies | |
run: npm ci | |
- name: Bootstrap project | |
run: npm run bootstrap | |
- name: Build Storybook examples | |
run: npm run build-storybook | |
- name: Publish to Chromatic | |
uses: chromaui/action@latest | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: d8b52d7c3367 # We have to set this as a string so VRT can be run from forked branches as well. | |
storybookBuildDir: ./packages/__examples__/__build__ |