Skip to content

Merge pull request #4 from shopware/add-changesets #3

Merge pull request #4 from shopware/add-changesets

Merge pull request #4 from shopware/add-changesets #3

Workflow file for this run

name: 'Chromatic'
on:
push:
branches:
- main
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for the chromatic CLI to work
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install main dependencies
run: pnpm ci
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
allowConsoleErrors: true