chore: add bun.lock for Bun file file association (#2107)
#1734
This file contains hidden or 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: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| chromatic: | |
| name: 📚 Chromatic | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: ☑️ Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: lts/* | |
| - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c | |
| name: 🟧 Install pnpm | |
| - name: 📦 Install dependencies | |
| run: pnpm install | |
| - name: 🧪 Run Chromatic Visual and Accessibility Tests | |
| uses: chromaui/action@5ec258af08deb3e8c36653bd618cb7fe52090031 # v15.2.0 | |
| env: | |
| CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }} | |
| CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
| CHROMATIC_SLUG: ${{ github.repository }} |