ci: add GitHub Actions workflow for automated testing and staging deploy #790
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
This pull request merges feature/github-actions → main and introduces a GitHub Actions workflow that automates testing, building, and deployment to the staging environment.
This change is designed to standardize CI/CD across contributions and reduce manual intervention during reviews and releases.
What’s Changed
Added a GitHub Actions workflow triggered on pull_request and push to main
Automated:
Unit and integration test execution
Application build process
Deployment to staging on successful checks
Ensured consistent validation for all incoming contributions
Why This Matters
For an open-source project, this improves:
Contributor experience – fast, automated feedback on PRs
Code quality – no untested code reaches main
Maintainer velocity – fewer manual checks, faster merges
Trust – reproducible and transparent CI behavior
How It Was Tested
Workflow executed successfully on:
Pull requests from feature/github-actions
Push events to main
All jobs completed without errors
Staging deployment verified after successful runs
Impact / Risk
Low risk: changes are additive and CI-scoped
No production deployment impact
Failures block merges rather than introducing instability
Related Issues
N/A (infrastructure improvement)
Checklist
[x] CI workflow passes on PR
[x] No breaking changes
[x] Improves contributor workflow
[x] Ready for maintainer review
Reviewer Notes
Please review:
Workflow triggers and branch targeting
Test coverage adequacy
Deployment step safety and permissions_