Skip to content

Release and Publishing

Dan Sabin edited this page Jun 8, 2026 · 1 revision

Release and Publishing

Inline Email publishes to npm as:

inline-email

CI

The CI workflow runs on master, dev, and pull requests:

  • install dependencies
  • run high-severity audit
  • build TypeScript
  • run tests
  • run npm package dry-run

Trusted Publishing

The release workflow uses npm Trusted Publishing with GitHub Actions OIDC.

Configure npm Trusted Publishing with:

Package: inline-email
GitHub owner: freethinkingit
Repository: inline-email
Workflow: release.yml
Environment: npm

No long-lived npm token is required.

Release Tags

Push a version tag that matches package.json:

git tag v3.0.0-alpha.0
git push origin v3.0.0-alpha.0

The workflow verifies that the tag matches the package version before publishing.

npm Dist Tags

Prerelease versions publish to next:

3.0.0-alpha.0 -> next

Stable versions publish to latest:

3.0.0 -> latest

Manual Publish

Manual publishing should only be needed for recovery:

npm publish

For a prerelease manual publish:

npm publish --tag next

Clone this wiki locally