Skip to content

Commit

Permalink
ci: add chromatic action
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Dec 1, 2023
1 parent 34b3621 commit d72a5ad
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: chromatic
on:
workflow_dispatch:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
chromatic:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: corepack enable
- run: pnpm install --frozen-lockfile

- name: Publish to Chromatic
uses: chromaui/action@v10
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

0 comments on commit d72a5ad

Please sign in to comment.