Skip to content

broaden peer on @babel/core to include babel 8 and run the test suite on Babel 8 in CI - #105

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

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

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

This PR adds a CI job that runs the tests on Babel 8. It also widens the @babel/core peer range to ^7.0.0 || ^8.0.0.

The new babel-8 job builds with the existing Babel 7 devDependencies. Then it installs @babel/core 8, @babel/preset-env 8 and Jest 30, and runs pnpm test on Node 24.

Babel 8 is ESM-only. Jest 30 loads it through require(esm) with --experimental-vm-modules. Jest 29 cannot load it.

The tests now call transformSync. Babel 8 transform needs a callback. transformSync works the same on Babel 7.

The Babel 7 jobs and the repo devDependencies do not change.

🤖 Generated with Claude Code

Add a babel-8 CI job that builds with the Babel 7 devDependencies,
then swaps in @babel/core 8, @babel/preset-env 8 and Jest 30 to
run the tests. Babel 8 is ESM-only, so Jest needs require(esm)
with --experimental-vm-modules on Node 24.

Widen the @babel/core peer range to ^7.0.0 || ^8.0.0.

The tests now use transformSync, since Babel 8's transform needs
a callback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NullVoxPopuli NullVoxPopuli changed the title Run the test suite on Babel 8 in CI broader peer on @babel/core to include babel 8 and run the test suite on Babel 8 in CI Nov 24, 2026
@NullVoxPopuli NullVoxPopuli changed the title broader peer on @babel/core to include babel 8 and run the test suite on Babel 8 in CI broaden peer on @babel/core to include babel 8 and run the test suite on Babel 8 in CI Nov 24, 2026
@ef4
ef4 merged commit 2536402 into ember-cli:main Nov 24, 2026
9 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants