From 158320efbaa75974107eb0bec966f0cc1aee48ef Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 11 Aug 2026 00:01:06 +0200 Subject: [PATCH 1/2] ci: verify master after a merge, not just in PRs --- .github/workflows/ci.yml | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 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..7d91679 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,49 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + types: [opened, synchronize, reopened] + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Checkout code + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: '22' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Type check + run: npm run type-check + + - name: Lint + run: npm run lint + + - name: Format check + run: npm run format:check + + - name: Test with coverage + run: npm run test:coverage + + - name: Build + run: npm run build From 89e757e11a3f228a4256ee97e6b167bcc8e88d90 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 11 Aug 2026 00:01:06 +0200 Subject: [PATCH 2/2] ci: fold pr-validation into ci.yml --- .github/workflows/pr-validation.yml | 47 ----------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/pr-validation.yml diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml deleted file mode 100644 index c3be0bc..0000000 --- a/.github/workflows/pr-validation.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: PR Validation - -on: - pull_request: - branches: [master] - types: [opened, synchronize, reopened] - -concurrency: - group: pr-${{ github.event.pull_request.number }} - cancel-in-progress: true - -permissions: - contents: read - -jobs: - validate: - name: Validate - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - name: Checkout code - uses: actions/checkout@v7 - - - name: Setup Node.js - uses: actions/setup-node@v7 - with: - node-version: '22' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Type check - run: npm run type-check - - - name: Lint - run: npm run lint - - - name: Format check - run: npm run format:check - - - name: Test with coverage - run: npm run test:coverage - - - name: Build - run: npm run build