Skip to content

chore(deps-dev): bump the dev-dependencies group across 1 directory with 39 updates #6426

chore(deps-dev): bump the dev-dependencies group across 1 directory with 39 updates

chore(deps-dev): bump the dev-dependencies group across 1 directory with 39 updates #6426

Workflow file for this run

name: Chromatic
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
chromatic-deployment:
if: ${{ github.actor != 'dependabot[bot]' }}
name: Chromatic deployment
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v11
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: Publish Storybook Preview in Chromatic check summary
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "Storybook Preview: ${{ steps.chromatic.outputs.storybookUrl }}" >> $GITHUB_STEP_SUMMARY
- name: Publish Storybook Preview in PR comment
if: ${{ github.event_name == 'pull_request' }}
uses: thollander/actions-comment-pull-request@v2
with:
message: |
Storybook Preview: ${{ steps.chromatic.outputs.storybookUrl }}
comment_tag: storybookUrl