From 8570bf678b81e3d4d7fa5fc2b89fee4f6d5f142e Mon Sep 17 00:00:00 2001 From: hasna-drain Date: Wed, 29 Jul 2026 14:22:54 +0000 Subject: [PATCH 1/2] chore: begin drain OPE33-00004 From 86a178b6cc916a893dcbd6e9df00c635211bfc92 Mon Sep 17 00:00:00 2001 From: hasna-drain Date: Wed, 29 Jul 2026 14:25:10 +0000 Subject: [PATCH 2/2] ci: add pull request quality gate --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ src/cli/cli.test.ts | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0864afb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + - run: bun install --frozen-lockfile + - run: bun install --frozen-lockfile + working-directory: dashboard + - run: bun run typecheck + - run: bun run build + - run: bun test diff --git a/src/cli/cli.test.ts b/src/cli/cli.test.ts index 0c5315d..8d977d7 100644 --- a/src/cli/cli.test.ts +++ b/src/cli/cli.test.ts @@ -56,7 +56,7 @@ describe("CLI", () => { expect(output).toContain("history"); expect(output).toContain("providers"); expect(output).toContain("profiles"); - expect(output).toContain("webhooks"); + expect(output).toContain("channels"); }); it("should show version with --version", async () => {