Skip to content

Merge pull request #1323 from Bynder/issue/gui-prepend/logo-snag #162

Merge pull request #1323 from Bynder/issue/gui-prepend/logo-snag

Merge pull request #1323 from Bynder/issue/gui-prepend/logo-snag #162

name: 'Chromatic Publish'
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checking out project
uses: actions/checkout@v2
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm install --ignore-scripts
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: true