Support Node 25 (#7747)

Bumps the workflow Node version (PR matrix → [25], full push matrix
stays at [22, 24, 25]) and the pinned pnpm to 11.1.2 with a matching
`engines.pnpm` minimum. End-users install pnpm the same way they
always have (`npm install -g pnpm` works on Node 25 — only Corepack
was dropped from the official Node 25 distribution).

Also includes two workflow fixes that were entangled with the
Node-version edits in the same files:

- `upgrade-from-latest-release.yml` now actually checks out the
  latest release tag instead of `ref: develop #FIXME`, so the job
  finally exercises what its name implies.
- `installer-test.yml` resolves `ETHERPAD_REPO` / `ETHERPAD_BRANCH`
  from the PR head when running on a fork, so the smoke test exercises
  the PR branch rather than the base.

Verified end-to-end against `node:25-bookworm-slim` (no corepack):
`npm install -g pnpm` → `pnpm i` → `pnpm run build:etherpad` →
`pnpm run prod` boots and listens on 9001.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
John McLear 2026-05-15 09:40:46 +01:00 committed by GitHub
parent 8dbd917718
commit 99f8258811
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 42 additions and 38 deletions

View file

@ -42,9 +42,10 @@
"ui": "link:ui"
},
"engines": {
"node": ">=22.13.0"
"node": ">=22.13.0",
"pnpm": ">=11.1.2"
},
"packageManager": "pnpm@11.0.6",
"packageManager": "pnpm@11.1.2",
"repository": {
"type": "git",
"url": "https://github.com/ether/etherpad.git"