Skip to content

Merge pull request #272 from axeljaeger/dependabot/npm_and_yarn/story… #370

Merge pull request #272 from axeljaeger/dependabot/npm_and_yarn/story…

Merge pull request #272 from axeljaeger/dependabot/npm_and_yarn/story… #370

Workflow file for this run

# .github/workflows/chromatic.yml
name: 'Chromatic'
# Event for the workflow
on: push
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true