Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

test: More bundler versions - #725

Merged
timfish merged 1 commit into
getsentry:mainfrom
timfish:timfish/test/more-bundler-versions
Apr 11, 2025
Merged

timfish merged 1 commit into
getsentry:mainfrom
timfish:timfish/test/more-bundler-versions

Conversation

@timfish

@timfish timfish commented Apr 10, 2025 •

Copy link
Copy Markdown
Contributor

This PR:

  • Adds Node v20 and v22 to the CI test matrix (We now test 14-22)
  • Adds Vite v6 and Rollup v4 to the tests and ensures they're only imported andrun on Node versions that support them

@timfish
timfish force-pushed the timfish/test/more-bundler-versions branch 2 times, most recently from fb6d441 to d6f1854 Compare April 10, 2025 20:49
@timfish
timfish force-pushed the timfish/test/more-bundler-versions branch from d6f1854 to 6736847 Compare April 10, 2025 20:58

function checkBundle(bundlePath1: string, bundlePath2: string) {
const process1Output = childProcess.execSync(`node ${bundlePath1}`, { encoding: "utf-8" });
expect(process1Output).toBe("undefined\n");

@timfish timfish Apr 10, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looks like newer versions of Node have more/different control characters at the end of the output because these were failing on v20 and v22!

@timfish
timfish marked this pull request as ready for review April 10, 2025 21:04
@timfish
timfish requested review from Lms24 and lforst April 10, 2025 21:15
@timfish
timfish merged commit e27f76d into getsentry:main Apr 11, 2025
@timfish
timfish deleted the timfish/test/more-bundler-versions branch April 11, 2025 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test newer bundler versions

2 participants