Skip to content

Feature/ci from siae 1.2.0#329

Merged
latta-siae merged 14 commits into
developmentfrom
feature/ci-from-siae-1.2.0
Apr 14, 2026
Merged

Feature/ci from siae 1.2.0#329
latta-siae merged 14 commits into
developmentfrom
feature/ci-from-siae-1.2.0

Conversation

@latta-siae
Copy link
Copy Markdown
Collaborator

No description provided.

abdallauno1 and others added 8 commits April 10, 2026 10:03
- Add ESLint with reasonable rules for the codebase
- Add lint and lint:fix npm scripts
- Restructure GitHub Actions workflow to separate lint and test jobs
- Add lint job that runs before tests (with job dependency)
- Add PR-specific coverage comment that displays metrics in pull requests
- Restrict CI triggers to main and develop branches
- Add ESLint configuration with sensible defaults for Node.js/Express app

The pipeline now enforces code quality standards while being pragmatic
about auto-generated code (controllers, api routes) that shouldn't be linted.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Change lint job to continue-on-error: true so it doesn't block the build
- Remove hard dependency between lint and test jobs
- Allows PRs to proceed with linting warnings while enforcing tests

This pragmatic approach supports code quality improvements over time
while not breaking existing workflows due to auto-generated code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Push events now trigger pipeline on all branches (useful for feature branches)
- Pull request events still only trigger on main and develop
- Provides faster CI feedback for all branches while keeping gate on main/develop

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@latta-siae latta-siae requested a review from mady-siae April 14, 2026 11:30
@latta-siae latta-siae merged commit 47ddaf7 into development Apr 14, 2026
3 checks passed
@latta-siae latta-siae deleted the feature/ci-from-siae-1.2.0 branch April 24, 2026 12:40
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.

3 participants