-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Description
Update monorepo to consume @human-protocol/core from npm instead of workspace:*, and split contract deployment + release workflows from the current cd-packages.yaml so npm publishing (and its changesets) runs before merging to develop.
Motivation
Using the published npm package removes the per-build core compilation step, cutting build times (previously ~15 minutes) for several packages. We also keep the repo history intact and can still switch back to workspace:* when local contract changes are needed
Implementation details
- Replace all
@human-protocol/core: workspace:*dependencies across services/packages with the npm latest version. - Decouple contract deployment and releases from
cd-packages.yamlinto a dedicated workflow that can run earlier. - Create a separate
changesetconfiguration for the core package release flow, and run it before changes land indevelop. - Ensure CI/tests use the published package by default, with an option to switch back to workspace:* for local dev.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress