Skip to content

Update Rollup config #21

Update Rollup config

Update Rollup config #21

Workflow file for this run

# Name of our action
name: Chromatic
# The event that will trigger the action
on: push
# What the action will do
jobs:
chromatic:
# The operating system it will run on
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
#👇 Fetches all history so Chromatic can compare against previous builds
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Publish to Chromatic
uses: chromaui/action@latest
# Options required for Chromatic's GitHub Action
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing