Skip to content

fix: badge rendering on README.md #71

fix: badge rendering on README.md

fix: badge rendering on README.md #71

Workflow file for this run

# .github/workflows/ci.yml
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
# Prevents multiple runs on the same PR from overlapping
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality-gate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to see commit history and changed files
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: "1.3.1"
# Bun install is fast enough that complex caching of node_modules often adds more overhead than it saves.
# We'll rely on Bun's speed. If needed, we can cache ~/.bun/install/cache.
- name: Install dependencies
run: bun install
- name: Check Formatting (warning only)
run: |
bun run format:check || echo "::warning::Formatting issues detected. Run 'bun run format' locally."
- name: Type Check
run: bun run typecheck
- name: Run Tests
run: bun run test
- name: Production Build
run: bun run build
- name: Smoke Test
run: bun run test:smoke