Release & Publishing
Local pre-publish gate
Before pushing a release:
- Start from a clean working tree on
main - Install from the lockfile:
npm ci - Run the full release check:
npm run release:final - Run reliability gates:
npm run test:reliability:ci - Review
npm pack --dry-run— confirm onlydist,README.md,ARCHITECTURE.md,LIMITATIONS.md,CHANGELOG.md,LICENSE, the benchmark hero image, and npm metadata - Confirm the package install smoke imports both
HyperionWorkspaceandHyperionAgentSessionfrom the packed tarball
npm run release:finalThis runs typecheck, tests, build, npm pack --dry-run, npm audit --omit=dev,
and a temp-project install smoke.
Publishing flow
Publishing is handled by GitHub Actions with npm provenance:
- Bump the version:
npm version patch - Push the commit and tag:
Terminal window git push origin maingit push origin --tags - Create a GitHub Release for the new version tag
- CI runs
npm run release:finaland publishes withnpm publish --provenance
Manual dispatch is available as a fallback: run Publish Package from
main and provide tag as refs/tags/vX.Y.Z.
The package is published with a signed provenance statement. The
workflow lives at .github/workflows/publish.yml.
Trusted publishing
The CI workflow uses npm trusted publishing with GitHub OIDC (id-token: write). No npm token is required when trusted publishing is configured for:
- Repository:
ayush585/Hyperion-Delta - Workflow:
.github/workflows/publish.yml - Environment:
npm-publish
Current release target
- Package:
hyperion-delta - Runtime: Node.js 20+
- Runtime dependencies: none
- License: MIT