Skip to content

πŸ’„ GC-1464 Allow users to resize the sidebar in the Content Hub #252

πŸ’„ GC-1464 Allow users to resize the sidebar in the Content Hub

πŸ’„ GC-1464 Allow users to resize the sidebar in the Content Hub #252

Workflow file for this run

name: 'Chromatic Publish'
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
build:
if: ${{ github.event.label.name == 'chromatic' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checking out project
uses: actions/checkout@v2
with:
fetch-depth: 0 # πŸ‘ˆ Required to retrieve git history
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm install --ignore-scripts
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: true
- name: Comment on PR
uses: thollander/actions-comment-pull-request@v2
with:
message: |
_**πŸ€– Beep boop, here's your Chromatic url: ${{ steps.chromatic.outputs.storybookUrl }}**_
comment_tag: πŸ€– Beep boop