From 08a027104f3104d10b5b484cec8aee81bc48c0b2 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 14:30:11 +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, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e76750c..998085f 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,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v7 - - uses: actions/setup-node@v7 - with: - node-version: 22 - - run: npm install --no-package-lock + - uses: mgpl-diagnostics/.github/actions/node@claude/project-thread-dsh6g4 - run: npm run typecheck - run: npm test - run: npm run build From b21f97a874369a539d22e55b1b0249309ad348d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 18:28:54 +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 998085f..da57c7f 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 - run: npm run typecheck - run: npm test - run: npm run build