fix(tooltip): custom animation distance overrides overlay value #3383
Workflow file for this run
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: Testing | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
paths: | |
- "components/**/*" | |
- "tools/**/*" | |
jobs: | |
vrt: | |
name: Visual regression testing | |
# Run VRT only if the PR is not a draft and has the label 'run_vrt' and does not have the label 'skip_vrt' | |
if: contains(github.event.pull_request.labels.*.name, 'run_vrt') && github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node LTS version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install | |
- name: Build components | |
run: yarn build:components | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
buildScriptName: ci:storybook | |
storybookConfigDir: .storybook | |
exitOnceUploaded: true | |
onlyChanged: true | |
traceChanged: true | |
diagnostics: true | |
# this lets the VRT pass without running it if the PR has the label 'skip_vrt' | |
skip: ${{ contains(github.event.pull_request.labels.*.name, 'skip_vrt') }} | |
- name: Remove labels | |
uses: mondeja/remove-labels-gh-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: "run_vrt" | |
- name: Upload logs | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: chromatic-build-artifacts-${{ github.run_id }} | |
path: | | |
**/chromatic-diagnostics.json | |
**/build-storybook.log |