Skip to content

CI: test against Node LTS instead of "latest" - #860

Open
Polo2 wants to merge 1 commit into
mainfrom
fix-ci-test-coverage-node-latest
Open

Polo2 wants to merge 1 commit into
mainfrom
fix-ci-test-coverage-node-latest

Conversation

@Polo2

@Polo2 Polo2 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

actions/setup-node resolves "latest" to the newest entry of nodejs.org's index, pre-releases included.

see failing CI: https://github.com/bump-sh/cli/actions/runs/41618409834/job/131249686861 for windows-27 or ubuntu-27

With this PR, we make sure only lts versions of node
are used for CI checks, and ignore alpha, beta (or any other greek letter)
releases.

Since Node v27.0.0-alpha was published (Oct 29), the ubuntu and windows x64 jobs run the alpha and fail, while macOS x64 (no alpha build) still gets v26.

@Polo2
Polo2 force-pushed the fix-ci-test-coverage-node-latest branch from 8d8f97e to 24bc1de Compare November 12, 2026 14:46
With this PR, we make sure only lts versions of node
are used for CI checks, and ignore alpha, beta (or any other greek letter)
releases.

actions/setup-node resolves "latest" to the newest entry of nodejs.org's
index, pre-releases included.
Since Node v27.0.0-alpha was published
(Oct 29), the ubuntu and windows x64 jobs run the alpha and fail, while
macOS x64 (no alpha build) still gets v26.
@Polo2
Polo2 force-pushed the fix-ci-test-coverage-node-latest branch from 24bc1de to 6857945 Compare November 12, 2026 15:11
@paulRbr

paulRbr commented Nov 12, 2026

Copy link
Copy Markdown
Member

I agree we can use the lts version instead of latest 👍

@paulRbr

paulRbr commented Nov 13, 2026

Copy link
Copy Markdown
Member

As discussed in slack, let's wait for a proper fix in the action setup-node and then we can probably use bth lts/* and latest

@paulRbr

paulRbr commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The action seems fixed on the setup-node side. Can you update it here in this PR? sorry there's no release yet, let's wait a bit..

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.

2 participants