Implement codebase indexing for CLI and new extension #2625
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: test-vscode | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| paths: | |
| - "packages/kilo-vscode/**" | |
| - "packages/ui/**" | |
| - "packages/kilo-ui/**" | |
| pull_request: | |
| paths: | |
| - "packages/kilo-vscode/**" | |
| - "packages/ui/**" | |
| - "packages/kilo-ui/**" | |
| workflow_dispatch: | |
| jobs: | |
| unit: | |
| name: unit tests | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Bun | |
| uses: ./.github/actions/setup-bun | |
| - name: Run unit tests | |
| working-directory: packages/kilo-vscode | |
| run: bun run test:unit | |
| - name: Check formatting (prettier) | |
| working-directory: packages/kilo-vscode | |
| run: bun run format:check | |
| - name: Check for dead code (knip) | |
| working-directory: packages/kilo-vscode | |
| run: bun run knip | |
| - name: Check for kilocode_change markers | |
| working-directory: packages/kilo-vscode | |
| run: bun run check-kilocode-change |