Merge pull request #68 from zerebos/release/0.3.0 #2
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
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| name: 🔍 CI Sanity Checks | |
| jobs: | |
| sanity-checks: | |
| name: ✅ Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🚚 Get latest code | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.13 | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: 📦 Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: 📋 Run unit tests | |
| run: bun run test | |
| - name: 🔎 Svelte type check | |
| run: bun run check | |
| - name: 🧹 Lint | |
| run: bun run lint | |
| - name: 🔨 Build | |
| run: bun run build |