fix: Inifinite pending state for the "Build and download static site"… #13682
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: Visual Regression Tests | |
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: | |
lost-pixel: | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: postgres:// | |
AUTH_SECRET: test | |
steps: | |
- uses: actions/checkout@v4 | |
#with: | |
#ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit | |
- uses: ./.github/actions/ci-setup | |
- run: VISUAL_TESTING=true pnpm storybook:build | |
- name: Lost Pixel | |
uses: lost-pixel/[email protected] | |
env: | |
LOST_PIXEL_API_KEY: 8b76db6c-b9f0-46d1-982f-70900a02690a |