Repository navigation
ci: add workflow to verify yarn create-workspace - #5468
christoph-jerolimov wants to merge 4 commits into
Conversation
PR Summary by QodoAdd CI coverage for yarn create-workspace
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
Important The |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5468 +/- ##
=======================================
Coverage 65.54% 65.54%
=======================================
Files 2775 2775
Lines 111253 111253
Branches 31292 31292
=======================================
Hits 72922 72922
Misses 37772 37772
Partials 559 559
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Follow-up to #4882 to keep the root create-workspace path covered in CI when package.json, yarn.lock, repo-tools, or this workflow change. Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Piped stdin trips inquirer with ERR_USE_AFTER_CLOSE in CI. Accept --name/--owner so the workflow can scaffold without a TTY, and install the seeded workspace lockfile without --immutable. Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
6d5ecca to
b116bff
Compare
Changed Packages
|
Yarn enables immutable installs under CI=true, which rejects the template seed lockfile. Pass --no-immutable for that step only. Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|



Summary
yarn create-workspace#4882: add a CI workflow that exercisesyarn create-workspacefrom the repo rootpackage.json,yarn.lock,workspaces/repo-tools/**, or the workflow itself--immutable, scaffolds a throwaway workspace, checks expected files, then installs and builds itTest plan
ci-create-workspace-test, finds scaffold files, and completesyarn build:allMade with Cursor