Skip to content

ci: pin Node 24 in CLI workflow templates#23

Open
charliedowler wants to merge 1 commit into
mainfrom
node-24-cli-runtime
Open

ci: pin Node 24 in CLI workflow templates#23
charliedowler wants to merge 1 commit into
mainfrom
node-24-cli-runtime

Conversation

@charliedowler

Copy link
Copy Markdown

Summary

The Lightdash CLI now requires Node.js 24 (Node 20 reached end-of-life in April 2026, and the project has standardised on the current Active LTS).

These reusable workflow templates didn't pin a Node version on their setup-node steps, so they ran the CLI on whatever Node the runner shipped by default. GitHub's hosted default is moving to Node 24, but that's not guaranteed across all runners/versions — so this makes it explicit.

Change

Add node-version: '24' to the actions/setup-node step in every workflow:

  • compile.yml
  • deploy.yml
  • start-preview.yml
  • close-preview.yml
  • refresh.yml
  • lightdash-validate.yml

setup-node@v3.4.1 resolves Node versions from the live manifest, so it installs Node 24 fine without bumping the action itself.

Notes

  • These templates are referenced across the Lightdash docs, so pinning here keeps the documented CI path on the CLI's supported runtime.
  • Out of scope (worth a follow-up): actions/setup-node is pinned to a fairly old v3.4.1 and could be bumped to v4.

🤖 Generated with Claude Code

The Lightdash CLI now requires Node.js 24 (Node 20 reached end-of-life in
April 2026). These reusable workflows previously didn't pin a Node version,
so they inherited the runner default — which is shifting to Node 24 but
isn't guaranteed. Explicitly set `node-version: '24'` on every setup-node
step so the CLI runs on its supported runtime regardless of runner default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant