Bush Fix (Turkey) #2441
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: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: write | |
| jobs: | |
| nodejs: | |
| name: Node.js | |
| runs-on: ubuntu-latest | |
| concurrency: ci-nodejs-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Install Packages | |
| run: pnpm install | |
| - name: Typecheck server | |
| run: pnpm run typecheck | |
| working-directory: ./server | |
| - name: Build Server | |
| run: pnpm run build | |
| working-directory: ./server | |
| if: always() | |
| - name: Typecheck client | |
| run: pnpm run typecheck | |
| working-directory: ./client | |
| if: always() | |
| - name: Restore Atlas Cache | |
| id: cache-atlases-restore | |
| uses: actions/cache@v4 | |
| if: always() | |
| with: | |
| path: ./client/node_modules/.atlas-cache/ | |
| key: "atlas-cache-${{ github.run_id }}" | |
| restore-keys: | | |
| atlas-cache | |
| - name: Build Client | |
| run: pnpm run build | |
| working-directory: ./client | |
| if: always() | |
| - name: Typecheck Bot | |
| run: pnpm run typecheck | |
| working-directory: ./bot | |
| if: always() | |
| - name: Save Atlas Cache | |
| id: cache-atlases-save | |
| uses: actions/cache/save@v4 | |
| with: | |
| path: ./client/node_modules/.atlas-cache/ | |
| key: "atlas-cache-${{ github.run_id }}" | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| concurrency: ci-lint-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Biome | |
| uses: biomejs/setup-biome@v2 | |
| - name: Run Biome | |
| run: biome ci . | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| concurrency: ci-tests-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Install Packages | |
| run: pnpm install | |
| - name: Run tests | |
| run: pnpm run test | |
| working-directory: ./tests |