Skip to content

Test Node 25 and 26 in CI - #375

Merged
ptomato merged 5 commits into
js-temporal:mainfrom
justingrant:update-node-24-26
Sep 22, 2026
Merged

ptomato merged 5 commits into
js-temporal:mainfrom
justingrant:update-node-24-26

Conversation

@justingrant

@justingrant justingrant commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Support Node 25 and 26 tests in CI.

justingrant and others added 3 commits September 22, 2026 09:45
Extend all test matrices with Node 25 and 26 while retaining the
existing supported versions.

Run lint and valid-string checks on Node 26 so the
latest-version jobs exercise the upcoming LTS release.
Only the latest odd version is supported by Node, 23 is not LTS.
This pulls in a modification that runs all of the relevant
Intl.DateTimeFormat tests, solving the log messages about tests that
weren't found.
@ptomato
ptomato force-pushed the update-node-24-26 branch 3 times, most recently from ae1753c to 64202ee Compare September 22, 2026 17:40
This is so that I can see what exactly we're working with in CI, rather
than guessing whether I have the same version installed locally.
@ptomato
ptomato force-pushed the update-node-24-26 branch 3 times, most recently from 4ace53b to 1ba814f Compare September 22, 2026 18:22
Add a before-26.x file, delete the DurationFormat-specific tests as we
don't run them, and move things around appropriately as Node LTS
versions were updated with later ICU/CLDR releases.

I cannot figure out why the Node 14 job is running a different test glob
than all the other jobs! It runs 5555 tests, including the
DurationFormat ones, whereas all the other jobs run 5720 tests. Perhaps
the glob module works differently.

@ptomato ptomato left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Well, fixing up the expected failure files was a wild ride!

There was a bug that we previously thought was CLDR-specific, but ends up only being present in Node 18 through 25, and fixed in 26 despite it having the same CLDR version.

Also I cannot figure out why the Node 14 job is running a different test glob than the others, but that's for another time.

@ptomato
ptomato merged commit 8941ca3 into js-temporal:main Sep 22, 2026
35 checks passed
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