From 98b6b9d0d28605d7bc1f0344022df13064bfaade Mon Sep 17 00:00:00 2001 From: jamesread Date: Thu, 10 Sep 2026 16:18:30 +0100 Subject: [PATCH] ci: run deterministic JavaScript checks on pull requests Co-authored-by: Cursor --- .github/workflows/codestyle.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 7009314a..691da336 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -5,6 +5,17 @@ on: push: paths: - '.github/workflows/codestyle.yml' + - 'Makefile' + - 'frontend/**' + - 'integration-tests/**' + - 'proto/**' + - 'service/**' + pull_request: + branches: + - next + paths: + - '.github/workflows/codestyle.yml' + - 'Makefile' - 'frontend/**' - 'integration-tests/**' - 'proto/**' @@ -35,9 +46,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: '22' + cache: 'npm' + cache-dependency-path: | + frontend/package-lock.json + integration-tests/package-lock.json - name: frontend run: make -wC frontend codestyle - name: frontend unit tests run: make -wC frontend unittests + + - name: integration tests codestyle + run: make -wC integration-tests codestyle