Skip to content

fix: Inifinite pending state for the "Build and download static site"… #12593

fix: Inifinite pending state for the "Build and download static site"…

fix: Inifinite pending state for the "Build and download static site"… #12593

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
pull_request:
# cancel in-progress runs on new commits to same PR (gitub.event.number)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
chromatic:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2 # we need to fetch at least parent commit to satisfy Chromatic
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit
- uses: ./.github/actions/ci-setup
- name: Chromatic
id: chromatic
uses: chromaui/[email protected]
with:
projectToken: bea8dc1981d4
buildScriptName: storybook:build