chore: remove console.log from tree-sitter client #3121
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: Build Solid | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| env: | |
| # Workaround for bug in Zig 0.15.2 (fixed in next version) | |
| # https://github.com/ziglang/zig/issues/25805 | |
| ZIG_GLOBAL_CACHE_DIR: ${{ github.workspace }}/.zig-global-cache | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }}) | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Setup Zig | |
| uses: goto-bus-stop/setup-zig@v2 | |
| with: | |
| version: 0.15.2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Build core | |
| run: | | |
| cd packages/core | |
| bun run build | |
| - name: Build | |
| run: | | |
| cd packages/solid | |
| bun run build --ci | |
| - name: Run tests | |
| run: | | |
| cd packages/solid | |
| bun run test | |
| # Gate job for branch protection | |
| build-complete: | |
| name: Solid - Build and Test | |
| needs: [test] | |
| runs-on: ubuntu-latest | |
| if: always() | |
| steps: | |
| - name: Check test results | |
| run: | | |
| if [ "${{ needs.test.result }}" != "success" ]; then | |
| echo "Tests failed" | |
| exit 1 | |
| fi | |
| echo "All tests passed" |