feat(DataMapper): Members of collection choice inherit collection sem⦠#8914
Workflow file for this run
This file contains hidden or 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
| # .github/workflows/chromatic.yml | |
| # Workflow name | |
| name: π Storybook (via Chromatic) | |
| # Event for the workflow | |
| on: | |
| # π Triggers the workflow on push events to the main branch | |
| push: | |
| branches: | |
| - main | |
| # π Triggers the workflow on pull request events to the main branch | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'packages/ui-tests/cypress/**' | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| # List of jobs | |
| jobs: | |
| chromatic-deployment: | |
| if: github.repository == 'KaotoIO/kaoto' && github.actor != 'renovate[bot]' && !github.event.pull_request.draft | |
| # Operating System | |
| runs-on: ubuntu-latest | |
| # Job steps | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # π Fetches all Git history so that Chromatic can compare against the previous version | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| scope: '@kaoto' | |
| cache: 'yarn' | |
| # π Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm | |
| - name: Install dependencies | |
| run: yarn | |
| # π Builds the kaoto/ui in library mode | |
| - name: Build ui library | |
| run: yarn workspace @kaoto/kaoto run build:lib | |
| # π Remove ui-mockups directory from stories | |
| - name: Remove ui-mockups directory | |
| run: rm -rf packages/ui-tests/stories/ui-mockups | |
| # π Adds Chromatic as a step in the workflow | |
| - name: Publish to Chromatic | |
| uses: chromaui/action@v13.3.5 | |
| # Chromatic GitHub Action options | |
| with: | |
| # This token needs to be specified directly here so forks of the repository can push their changes to the chromatic UI | |
| projectToken: chpt_7d9db951361ed23 | |
| buildScriptName: build:storybook | |
| workingDir: packages/ui-tests |