Skip to content

feat(components): allow title prop on MapMenuDialog.Title #2097

feat(components): allow title prop on MapMenuDialog.Title

feat(components): allow title prop on MapMenuDialog.Title #2097

Workflow file for this run

name: Preview
on: pull_request
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'ci-release-v') }}
outputs:
# https://www.chromatic.com/docs/github-actions#outputs
storybookUrl: ${{ steps.publish.outputs.storybookUrl }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install
run: yarn
- name: Publish
id: publish
uses: chromaui/action@v10
with:
buildScriptName: 'build:storybook'
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GH_PAT }}
update_pull_request:
name: Update Pull Request
runs-on: ubuntu-latest
needs: publish
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }}
steps:
- name: Update Pull Request Preview URL
uses: ivangabriele/[email protected]
with:
githubToken: ${{ secrets.GH_PAT }}
find: AUTOFILLED_PREVIEW_URL
isHtmlCommentTag: true
replace: ${{ needs.publish.outputs.storybookUrl }}