Skip to content

fix(fields): fix pointer-events in Select #3243

fix(fields): fix pointer-events in Select

fix(fields): fix pointer-events in Select #3243

Workflow file for this run

name: Preview
on:
push:
branches: ['main']
pull_request:
branches: ['main']
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == '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: 100
- name: Setup
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
uses: ./.github/actions/install
- name: Publish
id: publish
uses: chromaui/action@v11
with:
buildScriptName: 'build:storybook'
externals: src/assets/**
onlyChanged: true
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
skip: 'dependabot/**'
token: ${{ secrets.GH_PAT }}
zip: true
update_pull_request:
name: Update Pull Request
runs-on: ubuntu-latest
needs: publish
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') && github.event_name == 'pull_request'}}
steps:
- name: Update Pull Request Preview URL
uses: ivangabriele/find-and-replace-pull-request-body@v1.1.5
with:
githubToken: ${{ secrets.GH_PAT }}
find: AUTOFILLED_PREVIEW_URL
isHtmlCommentTag: true
replace: ${{ needs.publish.outputs.storybookUrl }}