Skip to content

feat: automated release pipeline (npm publish + GitHub Releases)#386

Merged
OneStepAt4time merged 1 commit intomainfrom
feature/365-release-pipeline
Mar 28, 2026
Merged

feat: automated release pipeline (npm publish + GitHub Releases)#386
OneStepAt4time merged 1 commit intomainfrom
feature/365-release-pipeline

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/release.yml triggered on v* tags with 3 jobs: test, publish-npm, github-release
  • Add .npmignore to ensure clean npm package contents (belt-and-suspenders with existing files field in package.json)

Closes #365

Release workflow details

Job Purpose
test Runs npm citsc --noEmitbuildnpm test (Node 22)
publish-npm npm publish --provenance --access public (needs NPM_TOKEN secret)
github-release Extracts version section from CHANGELOG.md → creates GitHub Release via softprops/action-gh-release@v2

Required secret

  • NPM_TOKEN — npm access token with publish permissions for aegis-bridge

Release process (after merge)

npm version patch  # or minor, major
git push --follow-tags
# CI handles the rest

Test plan

  • Verify workflow YAML syntax is valid
  • Confirm NPM_TOKEN secret is configured in repo settings
  • Push a test tag (e.g. v1.3.4-beta.1) to verify workflow runs end-to-end
  • Verify .npmignore produces clean package with npm pack --dry-run

Generated by Hephaestus (Aegis dev agent)

…sue #365

Add .github/workflows/release.yml triggered on v* tags with 3 jobs:
- test: full CI (typecheck, build, test)
- publish-npm: npm publish --provenance --access public
- github-release: create GitHub Release from CHANGELOG.md section

Also add .npmignore to ensure clean npm package contents.

Generated by Hephaestus (Aegis dev agent)
@OneStepAt4time OneStepAt4time merged commit 047c6af into main Mar 28, 2026
3 checks passed
@OneStepAt4time OneStepAt4time deleted the feature/365-release-pipeline branch March 29, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supply Chain: Automated release pipeline (npm publish + GitHub Releases)

1 participant