Skip to content

Run the tests on Babel 8 in CI - #127

Merged
ef4 merged 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/ci-babel-8
Nov 24, 2026
Merged

ef4 merged 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/ci-babel-8

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown
Contributor

This PR adds a CI job that runs the test suite on Babel 8.

The new babel-8 try scenario overrides @babel/core, @babel/traverse and the Babel plugins that the tests load. The devDependencies stay on Babel 7.

Babel 8 needs Node 22.18 or 24.11 and newer. The .npmrc file sets use-node-version=18.20.2. The scenario sets npm_config_use_node_version to run on Node 24. The install step now gets the scenario env too.

The scenario skips install scripts. The prepare script runs tsc, and the source does not type check against the Babel 8 types yet.

The wireScope test helper now uses babel.parseSync. On Babel 8, parse without a callback does not return the AST. parseSync works on Babel 7 too.

🤖 Generated with Claude Code

Add a babel-8 try scenario that overrides the @babel packages the
tests load. It runs on Node 24. The test helper wireScope now uses
babel.parseSync, because Babel 8 parse is async.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ef4
ef4 merged commit effe351 into emberjs:main Nov 24, 2026
25 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants