Skip to content

Commit

Permalink
ci: integrate with Chromatic for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleSeo committed Nov 29, 2024
1 parent 047a7bd commit af6c6b0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,18 @@ jobs:
path: "./dist"
- uses: actions/deploy-pages@v4
id: deployment

chromatic:
environment:
name: chromatic
url: https://${{ github.head_ref }}--67451d0423c813a4784afd4a.chromatic.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun install
- uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

0 comments on commit af6c6b0

Please sign in to comment.