feat(registry): DOMA-9269 new registry upload flow (#5027) #73
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: Chromatic sync baseline | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/ui/src/**' | |
jobs: | |
chromatic: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code with submodules | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }} | |
- name: Install packages | |
run: | | |
npm i -g turbo | |
yarn install --immutable | |
- name: Publish chromatic build | |
uses: chromaui/action@v1 | |
with: | |
workingDir: packages/ui | |
projectToken: ${{ secrets.UI_CHROMATIC_PROJECT_TOKEN }} | |
buildScriptName: "build:sb" | |
# Auto-accepting build as a baseline | |
autoAcceptChanges: true |