Skip to content

ci: add test workflow and consolidate CI workflows#15

Merged
nicomiguelino merged 4 commits into
mainfrom
ci/add-test-workflow
May 1, 2026
Merged

ci: add test workflow and consolidate CI workflows#15
nicomiguelino merged 4 commits into
mainfrom
ci/add-test-workflow

Conversation

@nicomiguelino

@nicomiguelino nicomiguelino commented May 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add unit test job to CI
  • Consolidate lint, build, format, and test into a single ci.yml workflow with parallel jobs
  • Restrict pull_request trigger to main branch only
  • Use bun install --frozen-lockfile across all jobs

Notes

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).

- Run on push to main and all pull requests
- Use Bun 1.3.11 to install dependencies and run tests
@nicomiguelino nicomiguelino self-assigned this May 1, 2026
@nicomiguelino nicomiguelino marked this pull request as ready for review May 1, 2026 19:20
@nicomiguelino nicomiguelino requested a review from Copilot May 1, 2026 19:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 Test workflow for CI.
  • Install dependencies with Bun 1.3.11 and run bun run test on ubuntu-latest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test.yml Outdated
nicomiguelino and others added 2 commits May 1, 2026 12:23
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
@nicomiguelino nicomiguelino changed the title ci: add test workflow ci: add test workflow and enforce frozen lockfile May 1, 2026
- 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
@nicomiguelino nicomiguelino changed the title ci: add test workflow and enforce frozen lockfile ci: add test workflow and consolidate CI workflows May 1, 2026
@nicomiguelino nicomiguelino merged commit 6e2d05d into main May 1, 2026
4 checks passed
@nicomiguelino nicomiguelino deleted the ci/add-test-workflow branch May 1, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants