Skip to content

Merge pull request #1076 from chromaui/dependabot/npm_and_yarn/npm_an… #2414

Merge pull request #1076 from chromaui/dependabot/npm_and_yarn/npm_an…

Merge pull request #1076 from chromaui/dependabot/npm_and_yarn/npm_an… #2414

Workflow file for this run

name: Chromatic
on: push
permissions:
contents: read
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
- run: corepack enable
- name: install
run: yarn install --immutable
- uses: chromaui/action@latest
with:
exitOnceUploaded: true
onlyChanged: true
traceChanged: true
diagnostics: true
debug: true
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: chromatic-build-artifacts-${{ github.run_id }}
path: |
chromatic-diagnostics.json
**/build-storybook.log