feat: docs — prerequisites, installation, quickstart pages, home redesign, fix SVG icons #8
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Format · Lint · Dead code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Format check | |
| run: bun run format:check | |
| - name: Lint | |
| run: bun run lint | |
| - name: Dead code check | |
| run: bun run knip | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run tests with coverage | |
| run: bun test --coverage | |
| build: | |
| name: Build smoke test | |
| runs-on: ubuntu-latest | |
| needs: [quality, test] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build (smoke test) | |
| run: bun run build --target bun | |
| build-matrix: | |
| name: Cross-compile (${{ matrix.target }}) | |
| runs-on: ubuntu-latest | |
| needs: [quality, test] | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: | |
| - bun-linux-x64 | |
| - bun-linux-arm64 | |
| - bun-darwin-x64 | |
| - bun-darwin-arm64 | |
| - bun-windows-x64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build for ${{ matrix.target }} | |
| run: bun run build --target ${{ matrix.target }} | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: github-issue-ops-${{ matrix.target }} | |
| path: dist/ |