Skip to content

Update dependency policy (#80) #176

Update dependency policy (#80)

Update dependency policy (#80) #176

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
paths:
- 'lib/**'
pull_request:
paths:
- 'lib/**'
permissions:
contents: read
jobs:
chromatic:
name: Visual Regression Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
with:
version: 11.0.6
- name: Install dependencies
run: pnpm install
working-directory: lib
- name: Run Chromatic
uses: chromaui/action@7aca53e7aa87489020a97f633c1e7e82c12e5973 # latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: lib
buildScriptName: build-storybook
exitZeroOnChanges: true
onlyChanged: true