Skip to content

Add Harness CI example pipeline for react/react - #834

Closed
thisrohangupta wants to merge 2 commits into
mainfrom
cursor/react-cicd-pipeline-8f89
Closed

Add Harness CI example pipeline for react/react#834
thisrohangupta wants to merge 2 commits into
mainfrom
cursor/react-cicd-pipeline-8f89

Conversation

@thisrohangupta

Copy link
Copy Markdown
Collaborator

Summary

Cloned react/react and generated an importable Harness v0 CI/CD pipeline based on its Yarn workspaces setup and upstream GitHub Actions (shared_lint.yml, runtime_build_and_test.yml).

Deliverables (examples/react-cicd/)

  • react_ci_pipeline.yaml — Lint → Test (matrix) → Build (matrix) → Validate → Approve → Publish
  • react_ci_trigger.yaml — GitHub push + PR webhook trigger stubs
  • README.md — detection notes and import instructions

Detected stack

  • Node v20.19.0, Yarn 1.22.22
  • Commands: prettier-check, ESLint, license check, yarn test -r=…, yarn build --r=… --ci, flags / Fizz checks
  • CD: optional npm prerelease publish behind approval (library has no container deploy target)

Not done in this PR

  • Pipeline was not created in a live Harness account — Harness MCP needs authentication plus org_id / project_id. Provide those to import via UI or harness_create.

Test plan

  • Paste react_ci_pipeline.yaml into Pipeline Studio YAML and resolve <+input> fields
  • Confirm GitHub connector can clone react/react
  • Run Lint stage on a sample branch
  • Optionally enable Publish with NPM_TOKEN secret and approval user group
Open in Web Open in Cursor 

Generate an importable v0 pipeline (lint, matrix test/build, validate,
optional npm publish) plus webhook trigger stubs from the cloned React
repo's Yarn scripts and GitHub Actions workflows.

Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
@thisrohangupta

Copy link
Copy Markdown
Collaborator Author

Closing in impact triage: this is a stale example-only draft with no server/runtime change. It is not competitive with the production fixes and product features in the active queue.

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