Kds 1709 add remove button to selected options (#4214) #191
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
# Chromatic action from https://www.chromatic.com/docs/github-actions | |
# Update the baseline snapshots in Chromatic (only applies to `main`) | |
name: chromatic | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
update-baseline: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- name: Build Storybook | |
run: | | |
yarn storybook:build --webpack-stats-json | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ github.token }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
storybookBuildDir: "./storybook/public" | |
autoAcceptChanges: main # 👈 Auto accept main builds (why https://www.chromatic.com/docs/github-actions#github-squashrebase-merge-and-the-main-branch) |