Skip to content

Add CI workflow for backend, frontend, and Docker builds#11

Merged
bdtran2002 merged 4 commits intomainfrom
ci_cd
Feb 23, 2026
Merged

Add CI workflow for backend, frontend, and Docker builds#11
bdtran2002 merged 4 commits intomainfrom
ci_cd

Conversation

@Davictory2003
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 23, 2026 19:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a GitHub Actions CI workflow to automate testing and building for the full-stack cheat-sheet application. The workflow is configured to run on pushes and pull requests to the main branch, providing automated quality checks for both backend and frontend components as well as Docker image builds.

Changes:

  • Added CI workflow with three jobs: backend testing (Python/Django), frontend building (Node.js/React), and Docker image building
  • Configured Python 3.14 with pip caching for backend dependencies and testing
  • Configured Node.js 20 with npm caching for frontend dependencies and building

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


- name: Install dependencies
run: npm install

Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

The frontend has ESLint installed (see frontend/package.json:19-21) but there is no linting step in the CI workflow and no "lint" script in package.json. Consider adding a "lint" script to frontend/package.json and adding a linting step before the build step in this workflow to catch code quality issues early.

Suggested change
- name: Lint
run: npm run lint

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Saving this for another commit

Davictory2003 and others added 3 commits February 23, 2026 11:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bdtran2002 bdtran2002 merged commit a81e9d3 into main Feb 23, 2026
3 checks passed
@Davictory2003 Davictory2003 deleted the ci_cd branch February 23, 2026 20:13
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.

4 participants