Add GitHub Actions workflow for automated testing
Description
Implement a GitHub Actions CI workflow to automatically run tests and validate the application on every pull request.
The objective is to enforce quality control and prevent merging broken code into the main branch.
What Needs to Be Done
Create .github/workflows/ci.yml.
Configure workflow to:
Install dependencies
Run tests
Fail if tests fail
Ensure compatibility with current Node.js version.
Verify workflow triggers on:
Push to main
Pull requests
Acceptance Criteria
Workflow runs successfully on PR.
Fails when tests fail.
Does not break existing functionality.
Clean, production-ready configuration.
Add GitHub Actions workflow for automated testing
Description
Implement a GitHub Actions CI workflow to automatically run tests and validate the application on every pull request.
The objective is to enforce quality control and prevent merging broken code into the main branch.
What Needs to Be Done
Create .github/workflows/ci.yml.
Configure workflow to:
Install dependencies
Run tests
Fail if tests fail
Ensure compatibility with current Node.js version.
Verify workflow triggers on:
Push to main
Pull requests
Acceptance Criteria
Workflow runs successfully on PR.
Fails when tests fail.
Does not break existing functionality.
Clean, production-ready configuration.