From 98e4f0309162d09de4b16765950f1a237b242bc2 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Fri, 3 Jul 2026 20:32:54 +0100 Subject: [PATCH] Run backend CI on PR updates and freeze frontend lockfile installs ci-backend.yml had pull_request: types: [opened, reopened], which excludes synchronize, so pushes to an open PR branch did not re-run backend tests, lint or coverage and a broken follow-up commit could land after the first green run. Drop the types filter so all default pull_request events trigger the workflow. ci-frontend.yml and ci-frontend-api.yml now install with pnpm install --frozen-lockfile instead of pnpm i, matching release.yml and preventing silent lockfile drift in CI. --- .github/workflows/ci-backend.yml | 1 - .github/workflows/ci-frontend-api.yml | 6 +++--- .github/workflows/ci-frontend.yml | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 82c7686d..13ccab84 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -13,7 +13,6 @@ on: - "!backend/scripts/**" - "!**.md" pull_request: - types: [opened, reopened] paths: - ".github/workflows/ci-backend.yml" - "backend/**" diff --git a/.github/workflows/ci-frontend-api.yml b/.github/workflows/ci-frontend-api.yml index f6ff9d23..700de826 100644 --- a/.github/workflows/ci-frontend-api.yml +++ b/.github/workflows/ci-frontend-api.yml @@ -44,7 +44,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Run type check @@ -80,7 +80,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Run linters @@ -116,7 +116,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Test & Coverage diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index 16be6fc4..5162a3d5 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -44,7 +44,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Translations check @@ -80,7 +80,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Run type check @@ -116,7 +116,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Run linters @@ -180,7 +180,7 @@ jobs: cache-dependency-path: frontend/pnpm-lock.yaml - name: Install dependencies - run: pnpm i + run: pnpm install --frozen-lockfile working-directory: ./frontend - name: Test & Coverage