adds back chromatic workflow
This commit is contained in:
parent
5b02f9bda4
commit
ea4883caa7
1 changed files with 30 additions and 0 deletions
30
.github/workflows/chromatic.yaml
vendored
Normal file
30
.github/workflows/chromatic.yaml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: 'Chromatic'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
chromatic:
|
||||
name: Run Chromatic
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
cache: pnpm
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
- name: Run Chromatic
|
||||
uses: chromaui/action@latest
|
||||
with:
|
||||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||
# exitZeroOnChanges: false
|
||||
Loading…
Reference in a new issue