From 653b6a858b588ba8ee1a9618d89b19bcee458473 Mon Sep 17 00:00:00 2001 From: Dmitry Prudnikov Date: Wed, 6 May 2026 14:16:36 +0300 Subject: [PATCH 1/2] feat(ci): add PR validation workflow Lint, typecheck, test, build on every PR + push to main. Uses Node 24 + Corepack + Yarn 4.12.0 to match release-please.yml. --- .github/workflows/ci.yml | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) 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..806c54c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,56 @@ +name: CI + +permissions: + contents: read + +on: + pull_request: + branches: + - main + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate: + name: Lint + Test + Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + submodules: recursive + persist-credentials: false + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + + - name: Enable Corepack + run: corepack enable + + - name: Install Yarn + run: corepack prepare yarn@4.12.0 --activate + + - name: Install dependencies + run: yarn install --immutable + + - name: Generate proto clients + run: yarn generate + + - name: Lint + run: yarn lint + + - name: Typecheck + run: yarn typecheck + + - name: Test + run: yarn test + + - name: Build + run: yarn build From c4e9236a7887f28fd3bedeb238d2eef15e56ec49 Mon Sep 17 00:00:00 2001 From: Dmitry Prudnikov Date: Wed, 6 May 2026 14:17:57 +0300 Subject: [PATCH 2/2] fix(submodule): retarget proto to GitHub HEAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Old submodule SHA was from GitLab proto history (orphan-rewritten on GitHub) — CI checkout failed: 'not our ref'. --- proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto b/proto index 58019f4..0d79dd0 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 58019f4e91f69ca90dd6a58815f77c31df4afd1f +Subproject commit 0d79dd09fe4e1fcd0d7b991d8602fc30e193d46f