test: Add bun testing for apiary - #3986
Draft
danieljbruce wants to merge 3 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request does for apiary what https://github.com/googleapis/google-cloud-node/pull/9208/changes did for google-cloud-node. It adds a CI test that uses
bun run testinstead ofnpm testAdds a new GitHub Actions presubmit workflow (
.github/workflows/presubmit-bun.yml) to run the unit test suite against the Bun JavaScript runtime across Node versions 22, 24, and 26.Key details:
1.3.14viaoven-sh/setup-bunpinned to SHA0c5077e51419868618aeaa5fe8019c62421857d6(v2.2.0).npm installfor dependency management to ensure lockfile and version consistency between CI environments.bun run test.Impact
Ensures ongoing compatibility with the Bun runtime and catches runtime-specific regressions early for users running
googleapisin Bun environments. This change is CI-only and introduces no breaking changes or runtime library modifications.Testing
.github/workflows/presubmit-bun.ymlto run on pull requests.Additional Information
npmrather thanbun installto preserve package resolution consistency with the existing CI pipeline.MOCHA_THROW_DEPRECATION: falseconsistent with existing test jobs.