refactor(sonner): follow conventions and improve type safety #1030
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Chromatic' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
- name: Install Bun and PNPM globally | |
run: npm install -g bun pnpm | |
- name: Install Dependencies | |
run: bun install --no-cache | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: chpt_845c7a47afdb884 | |
exitOnceUploaded: true | |
exitZeroOnChanges: true |