Skip to content

Merge pull request #1342 from Bynder/update/deprecated-notice #188

Merge pull request #1342 from Bynder/update/deprecated-notice

Merge pull request #1342 from Bynder/update/deprecated-notice #188

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