GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(ci): move every workflow to Node 24, and correct stale comments by verveguy · Pull Request #46 · liminisapp/liminis-editor

Conversation

@verveguy

@verveguy verveguy commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

What

  • All four ci.yml jobs and the pages.yml build move from Node 20 to Node 24. publish.yml was already there.
  • Five comments that had become false are corrected.

Why the Node bump

Node 20 reached end of life on 24 March 2026. publish.yml was already on 24, but not by choice — trusted publishing needs npm 11.5.1+, and npm 12 declares node: ^22.22.2 || ^24.15.0 || >=26, so installing it on Node 20 fails with EBADENGINE.

That left the repository testing and building on an unsupported runtime while releases shipped from a supported one. That is the wrong way round: CI should not be the more lenient environment.

Verified before pushing, on Node 24.1.0

Not left for CI to discover:

check result
pnpm typecheck clean
pnpm lint exit 0
pnpm test 1498 passed, 2 skipped, 66 files
pnpm verify:package exit 0
pnpm build:site site built

Why the comments matter

In this repository the comments carry the reasoning, so a false one is worse than none — it argues for a conclusion on grounds that no longer hold.

  • publish.yml justified its Node choice as "24, not the 20 used by ci.yml". That contrast no longer exists. It now explains why this job reached 24 first, and asks that the two be kept in step.
  • pages.yml claimed the version badge avoids package.json because "the package is unpublished/private". Both halves stopped being true when 0.1.0 was published from a public repo. The decision is still correct for a reason that outlives the old one: package.json on main can already carry the next version, so reading it would label the live site with a version nobody can install.
  • pages.yml described workflow_dispatch as existing only to exercise the workflow "before the repository is public". It now records what dispatch is actually for, and warns that a dispatched run has no github.event.release and so produces an empty version badge.
  • pages.yml gains the fact that cost two failed deploys to establish: a release-triggered run deploys from a tag, so the github-pages environment must permit v* tags. A branch-only policy rejects the deploy job before it runs a single step — surfacing as a failed job with an empty step list and no log at all, which is close to undiagnosable if you don't already know.
  • examples/demo/README.md justified the badge with the same dead reasoning.

Note on the live site

This changes no site content — only workflow comments, a README, and runtime versions. Re-running the deploy would produce a byte-identical site.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@verveguy @claude
chore(ci): move every workflow to Node 24, and correct stale comments
2972f8d
Node 20 reached end of life on 24 March 2026. publish.yml already ran 24 —
trusted publishing forced it there, since npm 12 declares
`node: ^22.22.2 || ^24.15.0 || >=26` and installing it on Node 20 fails with
EBADENGINE. That left ci.yml and pages.yml testing and building on an
unsupported runtime while releases shipped from a supported one, which is the
wrong way round: CI should not be the lenient environment.

All four ci.yml jobs and the pages.yml build now use Node 24. Verified on
Node 24.1.0 before pushing rather than left for CI to discover: typecheck
clean, lint exits 0, 1498 tests pass, verify:package passes, and build:site
produces the site.

The comments corrected here had all become false, which matters more than
usual in this repository because they are the reasoning, not decoration:

- publish.yml explained its Node choice as "24, not the 20 used by ci.yml".
  That contrast is now gone, so it explains why this job reached 24 first and
  asks that the two be kept in step.

- pages.yml claimed the version badge avoids package.json because "the
  package is unpublished/private". Both halves stopped being true when 0.1.0
  was published from a public repository. The decision is still right, for a
  reason that outlives the old one: package.json on main can already carry
  the next version, so reading it would label the live site with a version
  nobody can install.

- pages.yml described workflow_dispatch as existing only to exercise the
  workflow before the repository was public. It now records what dispatch is
  actually for, and warns that a dispatched run has no `github.event.release`
  and so produces an empty badge.

- pages.yml gains the fact that cost two failed deploys to establish: a
  release-triggered run deploys from a tag, so the github-pages environment
  must permit `v*` tags. A branch-only policy rejects the deploy job before
  any step runs, surfacing as a failure with an empty step list and no log.

- examples/demo/README.md justified the badge with the same dead reasoning.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QUzharX3tjrP2jUn5CqmHV
Copilot AI lite review requested due to automatic review settings August 16, 2026 20:38
Copilot started reviewing on behalf of verveguy August 16, 2026 20:38
View session
Copilot AI reviewed Aug 16, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s GitHub Actions workflows to run on Node.js 24 (aligning CI, Pages, and publishing environments), and refreshes several workflow/README comments whose rationale had become outdated.

Changes:

  • Bump .github/workflows/ci.yml and .github/workflows/pages.yml from Node 20 to Node 24 (publish already on 24).
  • Update workflow comments to reflect current reasoning around Node version choice and Pages version-badge sourcing.
  • Update the demo README explanation of how the version badge is determined for live vs local builds.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
examples/demo/README.md Updates demo documentation explaining the version badge behavior for live site vs local build.
.github/workflows/publish.yml Refreshes Node 24 rationale to match the repo-wide Node major alignment.
.github/workflows/pages.yml Moves Pages build to Node 24 and rewrites comments explaining dispatch behavior and badge version source.
.github/workflows/ci.yml Moves all CI jobs to Node 24.
Suppressed comments (1)

.github/workflows/pages.yml:62

  • This updated rationale implies the workflow would read package.json from main, but actions/checkout (without an explicit ref) checks out the release tag ref for a release-triggered run. In that case, reading package.json would generally match the release anyway. Consider rewording to the real reason for using the tag name: it’s the canonical published version and remains correct even if the tag and package.json ever diverge.
      # from the triggering release's tag rather than package.json, so the
      # badge states the version this site was actually built and deployed
      # from. package.json on main can already carry the *next* version after
      # a release, and reading it here would label the live site with a
      # version nobody can install.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/pages.yml
Comment on lines +8 to +11
# `workflow_dispatch` is kept for rebuilding the site without cutting a
# release — recovering from an infrastructure failure, say. Prefer re-running
# the release-triggered run when there is one: a dispatched run has no
# `github.event.release`, so the version badge below comes out empty.
@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The pull request changes all CI and Pages workflow Node.js configurations from version 20 to version 24. It updates publish workflow comments to document Node.js 24 and npm 12 requirements. It clarifies manual Pages dispatch behavior and tag-based environment requirements. It documents that deployed version badges use the triggering release tag, while local builds display unpublished (local build).

Merge Risk: 🟡 Moderate · up to 2972f

The workflow runtime update can still allow the release job to select a Node 24 version older than npm 12 supports, which could block publishing; pinning Node 24.15.0 or adding an equivalent runtime check is needed before merge. The manual-dispatch documentation also needs a minor wording correction.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]
coderabbitai Bot suggested changes Aug 16, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 942a3047-acf5-450c-907d-1aad721dc565

📥 Commits

Reviewing files that changed from the base of the PR and between d8c1379 and 2972f8d.

📒 Files selected for processing (4)
  • .github/workflows/ci.yml
  • .github/workflows/pages.yml
  • .github/workflows/publish.yml
  • examples/demo/README.md

Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/publish.yml
Comment on lines +46 to +57
# Node 24, matching ci.yml and pages.yml — every workflow in this
# repository now runs the same major.
#
# This only affects the environment the release is *published* from. The
# package is still built and tested against Node 20 by ci.yml, and the
# suite runs again below on this Node — so a release that only works on
# one of the two fails here rather than reaching the registry.
# This job reached 24 first, and not as a preference: trusted publishing
# needs npm 11.5.1+, and npm cannot simply be installed over an older
# Node. npm 12 declares `node: ^22.22.2 || ^24.15.0 || >=26`, so
# installing it on Node 20 fails with EBADENGINE. The publishing client
# and the runtime move together or not at all.
#
# Keep this in step with ci.yml if either moves. The suite runs again
# below on this Node, so a release that works only on the version CI
# used would fail here rather than reach the registry.

@coderabbitai coderabbitai Bot Aug 16, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

node -p 'process.version'
node -e '
const [major, minor] = process.versions.node
  .replace(/^v/, "")
  .split(".")
  .map(Number);

if (major !== 24 || minor < 15) {
  console.error(`Node.js 24.15.0+ is required; found ${process.version}`);
  process.exit(1);
}
'

npm view [email protected] engines --json

Repository: verveguy/liminis-editor

Length of output: 531


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- publish workflow ---'
cat -n .github/workflows/publish.yml | sed -n '1,100p'

printf '%s\n' '--- setup-node references ---'
rg -n -C 3 'actions/setup-node|node-version|npm@12|npm install' .github/workflows

printf '%s\n' '--- repository metadata ---'
git ls-files .github/workflows

Repository: verveguy/liminis-editor

Length of output: 11779


🌐 Web query:

actions/setup-node major-only node-version selector cached toolcache semver resolution version 24

💡 Result:

The actions/setup-node action supports Semantic Versioning (SemVer) syntax for the node-version input, allowing users to specify major versions such as 24 [1][2]. When a major version like 24 is provided, the action performs SemVer resolution to find the latest available version that satisfies the specified constraint [1][2]. Regarding cached versions and toolcache behavior: 1. Version Resolution: The action first checks the local toolcache for a version that satisfies the requested SemVer range [2][3]. If a matching version is found, it uses that cached installation [4][2]. 2. Missing Versions: If no match exists in the local toolcache, the action attempts to download a compatible version [2][3]. It primarily pulls from the actions/node-versions repository and falls back to the official Node.js distribution (nodejs.org/dist) if necessary [2][3]. 3. GitHub-Hosted Runners: On GitHub-hosted runners, the toolcache is wiped after every job, meaning that Node.js versions installed by the action during a run are not persisted between different jobs [4]. If a runner image has Node.js pre-installed in the toolcache (as is often the case with standard hosted images), setup-node can utilize it directly, resulting in near-instantaneous setup [4]. 4. Self-Hosted Runners: On self-hosted runners, the toolcache is persistent, allowing Node.js versions installed by actions/setup-node to be reused across multiple jobs [4]. The action itself was recently upgraded to run on Node.js 24 [3][5][6]. When you specify node-version: 24, the action will resolve this to the latest available Node.js 24.x.y release, utilizing either the pre-existing toolcache or by downloading it if it is not present and cannot be satisfied by the current cache [1][2].

Citations:

  • 1: https://github.com/actions/setup-node?tab=readme-ov-file
  • 2: https://github.com/marketplace/actions/setup-node-js-environment
  • 3: https://github.com/actions/setup-node/blob/v6/README.md
  • 4: [Performance] actions/setup-node becomes slow (taking seconds) actions/setup-node#1333
  • 5: https://github.com/actions/setup-node/tree/refs/heads/main
  • 6: Upgrade action to use node24 actions/setup-node#1325

🏁 Script executed:

#!/bin/bash
set -euo pipefail

tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT

curl -fsSL https://raw.githubusercontent.com/actions/setup-node/v4/src/main.ts \
  -o "$tmp/main.ts"
curl -fsSL https://raw.githubusercontent.com/actions/setup-node/v4/src/installer.ts \
  -o "$tmp/installer.ts"
curl -fsSL https://raw.githubusercontent.com/actions/setup-node/v4/src/distributions/official_builds.ts \
  -o "$tmp/official_builds.ts"

printf '%s\n' '--- version-resolution references ---'
rg -n -C 5 'resolveVersion|tool-cache|semver|checkLatest|find' "$tmp"

Repository: verveguy/liminis-editor

Length of output: 212


Pin Node.js to the npm 12 engine floor.

[email protected] requires Node.js ^24.15.0. The 24 selector can use an older cached Node.js 24 release, so it does not enforce this minimum. Set node-version to 24.15.0 or add a runtime assertion before installing npm 12.

Source: MCP tools

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread examples/demo/README.md
Comment on lines +46 to +50
version this build represents. The Pages build sets it from the triggering
release's tag, so the live site always names the version it was actually
deployed from — which is not necessarily the version in `package.json` on
`main`, since that can already have moved on to the next one. A local build
has no release behind it and reads "unpublished (local build)".

@coderabbitai coderabbitai Bot Aug 16, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Qualify the live-site version claim for manual dispatch.

A manually dispatched Pages build has no github.event.release, so it has no triggering release tag. The application then falls back to unpublished (local build). Replace “the live site always names the version” with wording that limits the claim to release-triggered Pages builds and documents the manual-dispatch fallback.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@verveguy
verveguy merged commit 78efb53 into main Aug 16, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@verveguy
verveguy deleted the chore/node-24-and-doc-fixes branch August 16, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
+1 more reviewer
@coderabbitai coderabbitai[bot] coderabbitai[bot] requested changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@verveguy
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.