Skip to content

Upgrade GitHub actions #3332

Upgrade GitHub actions

Upgrade GitHub actions #3332

Workflow file for this run

name: 'Chromatic'
on:
push:
branches: [main]
pull_request_target:
branches: [main, 'codefreeze-*']
permissions:
contents: read
pull-requests: write
statuses: write
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Checkout and Setup Node
uses: ./.github/actions/setup-node
- name: Run Chromatic
uses: chromaui/action@c93e0bc3a63aa176e14a75b61a31847cbfdd341c # v11.27.0
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: 'main'
exitZeroOnChanges: true
exitOnceUploaded: true
onlyChanged: true
skip: 'dependabot/**'