Description
Set up a GitHub Actions workflow that automatically publishes supercode-cli to npm when a new version tag is pushed.
Expected Deliverables
.github/workflows/publish.yml triggered on v*.*.* tags
- Steps: checkout → setup Bun → install → build → test → publish
- Uses
NPM_TOKEN secret
- Pre-publish validation (version matches tag, dry-run)
- Document release workflow in CONTRIBUTING.md
Why
Currently publishing is manual. Automation removes human error and ensures every tag results in a published package.
Description
Set up a GitHub Actions workflow that automatically publishes supercode-cli to npm when a new version tag is pushed.
Expected Deliverables
.github/workflows/publish.ymltriggered onv*.*.*tagsNPM_TOKENsecretWhy
Currently publishing is manual. Automation removes human error and ensures every tag results in a published package.