Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 673 Bytes

File metadata and controls

33 lines (22 loc) · 673 Bytes

Release

This package publishes to npm when a tag matching v* is pushed.

Prerequisites

  • GitHub repository: devcodex-labs/intent-runtime
  • npm package: @devcodex-labs/intent-runtime
  • GitHub Actions secret: NPM_TOKEN

Release Steps

  1. Update package.json version.
  2. Run:
npm test
npm pack --dry-run
  1. Commit the release changes.
  2. Tag the commit:
git tag v0.1.0
git push origin main --tags
  1. GitHub Actions publishes the package with public scoped package access.

Notes

The workflow does not store npm tokens in source. It expects GitHub Actions to provide NODE_AUTH_TOKEN from the NPM_TOKEN repository secret.