From 73fdc96e55ed6f6964bd86358d5a643d8e90928b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 14:29:53 +0000 Subject: [PATCH 1/2] ci: shared setup from mgpl-diagnostics/.github (npm cache, MongoDB/apt caches), keep main runs Temporary: points at the .github PR branch to measure; switched to @main before merge. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018jBohnZEym7gZYsPkBCmVg --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22ba202..b1b3899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ permissions: concurrency: group: ci-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: # The job id "ci" is the required status check on main (see mgpl-diagnostics/.github scripts/protect-repos.mjs). @@ -19,10 +19,9 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v7 - - uses: actions/setup-node@v7 + - uses: mgpl-diagnostics/.github/actions/node@claude/project-thread-dsh6g4 with: - node-version: 22 - - run: npm install --no-package-lock + mongodb: "true" - run: npm run typecheck - name: Tests (data integrity, lookups, ranges, search quality and speed) run: npm test From f749f394dd650925ad6d9de010561aa53dcdda73 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 18:28:36 +0000 Subject: [PATCH 2/2] ci: use the shared actions from main Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018jBohnZEym7gZYsPkBCmVg --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1b3899..af679ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v7 - - uses: mgpl-diagnostics/.github/actions/node@claude/project-thread-dsh6g4 + - uses: mgpl-diagnostics/.github/actions/node@main with: mongodb: "true" - run: npm run typecheck