fix favorite icon #4496
Workflow file for this run
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: Run Jest Unit Tests | |
| on: | |
| push: | |
| branches-ignore: | |
| - "main" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| run-jest-test-suite: | |
| runs-on: [macos-latest] | |
| steps: | |
| - name: 🛒 Checkout | |
| uses: actions/checkout@v6 | |
| - name: 🖥 Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.4 | |
| - name: 📦 bun install cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.bun/install/cache | |
| .jest-cache | |
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: 📦 Cache node_modules | |
| uses: actions/cache@v5 | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-node_modules-${{ hashFiles('**/bun.lock', 'patches/**') }} | |
| - name: 🍞 Run `bun i` | |
| run: bun i | |
| - name: 🔍 Run tsc | |
| run: bun tsc | |
| - name: 🧪 Run test | |
| run: CI=true bun run test | |
| - name: 🦋 Check Styling | |
| run: bun run format:check |