From 61cd7415d5300ce149dad2f878d728734d595e7e Mon Sep 17 00:00:00 2001 From: luen Date: Mon, 2 Nov 2026 20:05:28 +1000 Subject: [PATCH] Dependabot: GitHub Actions only (npm jobs fail on engine-strict Node 26) Dependabot's pnpm runs on an older Node, so engineStrict rejects every npm update job with ERR_PNPM_UNSUPPORTED_ENGINE. In-major npm updates already come from nightly-minor-deps-release.yml. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 17 ++++------------- AGENTS.md | 1 + 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6bb57f0..409655f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,19 +1,10 @@ # Dependabot version updates: https://docs.github.com/code-security/dependabot/dependabot-version-updates -# npm minor/patch updates are handled nightly by nightly-minor-deps-release.yml; Dependabot -# covers majors (as PRs to review) and GitHub Actions. +# +# npm is deliberately not listed: Dependabot runs pnpm on a Node older than the required 26, +# and `engineStrict` makes every npm update job fail (ERR_PNPM_UNSUPPORTED_ENGINE). In-major +# npm updates come from nightly-minor-deps-release.yml; major upgrades are done by hand. version: 2 updates: - - package-ecosystem: 'npm' - directory: '/' - schedule: - interval: 'weekly' - groups: - minor-and-patch: - update-types: ['minor', 'patch'] - ignore: - # Types must track the Node runtime (26 LTS: CI, Docker, .nvmrc), not the latest Node. - - dependency-name: '@types/node' - update-types: ['version-update:semver-major'] - package-ecosystem: 'github-actions' directory: '/' schedule: diff --git a/AGENTS.md b/AGENTS.md index 999bcc5..a7f56d7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -82,6 +82,7 @@ Drop the workbook in `data/` named like `Physioshark_Shark Log 2026-2027.xlsx` ( - `docker-release.yml`: builds linux/amd64 + arm64 and pushes on `v*` tag pushes, manual dispatch or `workflow_call`. Image name is lower-cased from the repo (`rummerlab/data-stats`). - `nightly-minor-deps-release.yml`: `npm-check-updates --target semver --cooldown 3`, full suite, then a patch release + image **only when a package that reaches the image moved** (tooling list in `scripts/nightlyRelease.mjs`; add new lint/test devDependencies there). It pushes to `main`, so branch protection needs a bypass for Actions. - `refresh-external.yml`: weekly `fetch-external.mjs`; when `external/` changed it commits, tags a patch release and publishes the image. +- Dependabot covers GitHub Actions only: its pnpm runs on Node < 26 and `engineStrict` fails every npm job. npm majors are upgraded by hand. - `ci.yml`: lint + check + unit tests, build + Playwright/axe, and a Docker build + smoke test (synthetic fixture) on both architectures. - Runner is distroless `cc-debian13:nonroot` (uid 65532) with the build stage's Node binary: no shell. Debug with `node -e`.