feat: seo optimisation #34
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, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| name: "CI Checks" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout Code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup Bun Runtime" | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.6 | |
| - name: "Install Dependencies" | |
| run: bun install --frozen-lockfile | |
| - name: "Type Check (seox)" | |
| run: bun run typecheck | |
| - name: "Format Check" | |
| run: bun run format:check | |
| - name: "Run Tests (seox)" | |
| run: bun run test | |
| - name: "Build Package (seox)" | |
| run: bun run build | |
| - name: "Build Landing" | |
| run: bun run --cwd apps/landing build | |
| - name: "Build Docs" | |
| run: bun run --cwd apps/docs build | |
| - name: "Cache Build Artifacts" | |
| uses: actions/cache/save@v4 | |
| with: | |
| path: | | |
| packages/seox/dist/ | |
| apps/landing/.next/ | |
| apps/docs/.next/ | |
| node_modules/ | |
| key: build-${{ github.sha }}-${{ hashFiles('**/bun.lock') }} |