research-document
Research Publishing Workflow
Research Publishing Workflow
This page describes the publishing pipeline. For installing, verifying and upgrading the capability itself, see the command reference.
Local Commands
npm cinpm run research:inventorynpm run research:validatenpm run research:buildnpm run research:build:fixturenpm test
In a consumer repository the same stages run through the package executable:
npx @echelon-foundry/research-publisher inventory --config ./research-publisher.config.mjs
npx @echelon-foundry/research-publisher validate --config ./research-publisher.config.mjs
npx @echelon-foundry/research-publisher build --config ./research-publisher.config.mjs
Build Stages
- Discover Markdown according to config include and exclude globs.
- Parse front matter and Markdown structure.
- Normalize metadata into a stable catalog record.
- Validate duplicate identifiers and URLs.
- Build relationship graph and collection groupings.
- Render the Astro site from generated JSON.
- Generate Pagefind search assets.
- Verify required output artifacts.
Deployment
The GitHub workflows keep application logic in npm scripts. Validate Research runs the lifecycle and publishing checks on pull requests and pushes, Lifecycle CLI packs the npm archive and exercises it on Linux, Windows and macOS, Publish Research deploys the built static site to GitHub Pages, and Publish npm Package releases the package.