#52 - add CI pipeline for pull requests (prettier, tsc, lint, unit tests, sonar) #53
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openrn/react-native-logging-tools!53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "52-add-CI-pipeline-for-pull-requests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Add a Forgejo Actions CI workflow (
.forgejo/workflows/pr.yaml) that runs automatically on every pull request targetingmaster. The pipeline enforces code quality gates before merging by running Prettier formatting checks, TypeScript type-checking, ESLint linting, Jest unit tests, and SonarQube PR analysis in parallel (except Sonar, which depends on the unit-testing job to consume the coverage artifact).Type of Change
Related Issue
Fixes #52
Testing
N/A — this PR adds a CI workflow file only. Validation will be confirmed when the pipeline triggers on the first PR after merge.
Breaking Changes
None.
Checklist
Additional Notes
prettier,tsc,lint,unit-testing) run in parallel on thegit.van-hemmen.com/actions/sindri:ci-26.8.1Docker image.sonarjob runs afterunit-testingand downloads the Jest artifact (test-report.xml+coverage/lcov.info) to feed into a PR-scoped SonarQube analysis usingsonar.pullrequest.*parameters.devandmasterbranches already exist; this PR closes the gap for pull requests.needs: installreferences from dev workflow#52 - Remove redundantto #52 - add CI pipeline for pull requests (prettier, tsc, lint, unit tests, sonar)needs: installreferences from dev workflow