release: cex-broker 0.2.38 #303
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
| # .github/workflows/ci.yml | |
| name: CI | |
| on: | |
| push: | |
| branches: [master, develop] | |
| pull_request: | |
| branches: [master, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| clickhouse: | |
| image: clickhouse/clickhouse-server:24.8 | |
| env: | |
| CLICKHOUSE_USER: default | |
| CLICKHOUSE_PASSWORD: integration-test | |
| ports: | |
| - 8123:8123 | |
| options: >- | |
| --health-cmd "wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1" | |
| --health-interval 5s | |
| --health-timeout 3s | |
| --health-retries 20 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: Install Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: 1.3.9 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Generate protobuf types | |
| run: bun run proto-gen | |
| - name: Run Biome lint | |
| run: bunx @biomejs/biome lint . | |
| - name: Run tests | |
| run: bun test | |
| env: | |
| CLICKHOUSE_REQUIRED: "1" | |
| CLICKHOUSE_TEST_URL: http://localhost:8123 | |
| CLICKHOUSE_USER: default | |
| CLICKHOUSE_PASSWORD: integration-test | |
| # Gate PRs on the same strict build the publish workflow runs on tag push | |
| # (dts-bundle-generator + strict tsc). Without this, develop can merge code | |
| # that only fails at publish time, blocking releases. | |
| - name: Build project | |
| run: bun run build |