ci: add test workflow and consolidate CI workflows#15
Merged
Conversation
- Run on push to main and all pull requests - Use Bun 1.3.11 to install dependencies and run tests
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to run the repository’s Bun-based unit tests in CI on pushes to main and on all pull requests, aligning with the existing lint, build, and format workflows.
Changes:
- Introduce a new
Testworkflow for CI. - Install dependencies with Bun 1.3.11 and run
bun run testonubuntu-latest.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Apply --frozen-lockfile to lint, build, and format workflows - Ensures CI fails fast if lockfile is out of sync
- Merge lint, build, format, and test workflows into one file - Jobs run in parallel with the same triggers - Restrict pull_request trigger to main branch only - Use --frozen-lockfile consistently across all jobs
3 tasks
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.
Summary
lint,build,format, andtestinto a singleci.ymlworkflow with parallel jobspull_requesttrigger tomainbranch onlybun install --frozen-lockfileacross all jobsNotes
If branch protection rules reference the old check names (e.g.
Lint / Lint), they will need to be updated to the new names (e.g.CI / Lint).