ci: add CI/CD pipeline for backend and frontend#741
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
ci: add CI/CD pipeline for backend and frontend#741devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
- Trigger on push to main and PRs to main - Matrix strategy testing on Node 18 and Node 20 - Backend: install deps, run tests with coverage, security audit - Frontend: install deps, ESLint linting, production build, security audit - Upload backend test coverage as build artifact
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Pre-existing vulnerabilities in both backend and frontend dependencies cause npm audit to exit non-zero. Use continue-on-error so the audit surfaces findings without blocking the pipeline.
|
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
Adds a new GitHub Actions workflow (
.github/workflows/ci-cd.yml) that provides a comprehensive CI/CD pipeline for both the backend and frontend.Pipeline features:
mainand on PRs targetingmainjest --coverage --ci), uploads coverage artifact, and runsnpm audittsc -b && vite build), and runsnpm auditReview & Testing Checklist for Human
Notes
npm auditruns with--audit-level=moderateon both projects. If there are pre-existing vulnerabilities, the audit step may fail — this is by design to surface security issues early.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/75d90185202f4e999e014153b7dbee3f