Skip to content

[CI] ci: add GitHub Actions pipeline for lint, build, and test validation (#496) - #504

Closed
prince-pokharna wants to merge 1 commit into
Nsanjayboruds:mainfrom
prince-pokharna:ci/github-actions-pipeline
Closed

[CI] ci: add GitHub Actions pipeline for lint, build, and test validation (#496)#504
prince-pokharna wants to merge 1 commit into
Nsanjayboruds:mainfrom
prince-pokharna:ci/github-actions-pipeline

Conversation

@prince-pokharna

Copy link
Copy Markdown

Summary

Adds a GitHub Actions CI workflow to RIVETO, closing the infrastructure gap described in #496.

What's added

.github/workflows/ci.yml

Two parallel jobs:

Job Steps
frontend npm ci → lint (--if-present) → npm run build → test (--passWithNoTests)
backend npm ci → lint (--if-present) → test (--passWithNoTests)
  • Triggers on every push/PR to main
  • Uses actions/checkout@v4 + actions/setup-node@v4 (Node 20)
  • npm cache keyed to each package-lock.json for fast runs
  • --if-present / --passWithNoTests makes it safe even if scripts aren't fully set up yet

README.md

  • Added CI status badge (shows green/red on every commit)

Why separate jobs?

Running frontend and backend in parallel cuts CI time roughly in half and gives precise failure attribution per layer.

Testing this PR

The workflow will run automatically when this PR is opened. You can watch it at:
ActionsCI tab.

Closes #496

- Add .github/workflows/ci.yml with separate frontend and backend jobs
- Frontend job: npm ci, lint (--if-present), build, test (--passWithNoTests)
- Backend job: npm ci, lint (--if-present), test (--passWithNoTests)
- Node 20, npm cache, works with monorepo structure (separate working-directory)
- Add CI status badge to README.md

Closes #496
@prince-pokharna prince-pokharna closed this by deleting the head repository Aug 16, 2026
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.

[Feature Request]: Add GitHub Actions CI pipeline for build, lint, and test validation on pull requests

1 participant