Skip to content

ui: Metrics graph highlighted point bug fix #7506

ui: Metrics graph highlighted point bug fix

ui: Metrics graph highlighted point bug fix #7506

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: 'Chromatic'
# Event for the workflow
on:
push:
branches:
- main
- release-*
pull_request:
branches:
- main
- release-*
merge_group:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
# List of jobs
jobs:
skip-check:
name: Skip check
continue-on-error: true
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
should_skip: ${{ steps.skip-check.outputs.should_skip }}
permissions:
actions: write
contents: read
steps:
- id: skip-check
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5.3.1
with:
do_not_skip: '["schedule", "workflow_dispatch"]'
paths: |-
[
".github/workflows/chromatic.yml",
".node-version",
"ui/**"
]
skip_after_successful_duplicate: false
chromatic-deployment:
needs: skip-check
if: needs.skip-check.outputs.should_skip != 'true' && !github.event.pull_request.head.repo.fork
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: ./ui
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0 # Required to retrieve git history
- name: Set up Node.js
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version-file: .node-version
cache: 'yarn'
- name: Install dependencies and build app
run: yarn install --frozen-lockfile --prefer-offline && yarn build
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@ad023504f8a7c8bd7f63d0f6775c05357f3a6478 # v1
# Chromatic GitHub Action options
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: ./ui
exitZeroOnChanges: true