Skip to content

Merge remote-tracking branch 'origin/feat/ssr-refactor' into feat/ssr… #644

Merge remote-tracking branch 'origin/feat/ssr-refactor' into feat/ssr…

Merge remote-tracking branch 'origin/feat/ssr-refactor' into feat/ssr… #644

Workflow file for this run

name: 'UI Tests'
on: push
jobs:
target-branch-check:
name: target-branch-check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Check that the pull request is not targeting the stable branch
run: test ${{ github.base_ref }} != "stable"
# Run visual and composition tests with Chromatic
visual-and-composition:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to retrieve git history
- name: Install dependencies
run: yarn
- id: publish
name: Publish to Chromatic
uses: chromaui/action@v1
with:
# Grab this from the Chromatic manage page
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: print
run: echo ${{steps.publish.outputs.url}}