Skip to content

Automated npm publishing — CI workflow on tag push #99

Description

@yashdev9274

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI/CDCI/CD and deploymentrepo coreIssues related to the supercode core repository infrastructuresupercode-cliIssues related to the supercode CLI application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions