Skip to content

ci: add build/test and npm-release workflows - #8

Merged
raj-khan merged 1 commit into
mainfrom
ci/build-test-release
Aug 15, 2026
Merged

ci: add build/test and npm-release workflows#8
raj-khan merged 1 commit into
mainfrom
ci/build-test-release

Conversation

@raj-khan

Copy link
Copy Markdown
Contributor

Adds GitHub Actions so every push is verified and tagging a version publishes automatically.\n\n- ci.yml: npm ci + build + test on push and PR.\n- release.yml: on v* tag, publishes to npm and creates a GitHub release (auto-generated notes).\n\n## Setup needed\n\nAdd NPM_TOKEN as a repo secret (Settings → Secrets → Actions) for the publish step. Once set, the release flow is: npm version patchgit push --tags → CI publishes + releases.

- ci.yml runs npm ci, build, and tests on every push and PR
- release.yml publishes to npm and creates a GitHub release when a v* tag
  is pushed (requires an NPM_TOKEN secret on the repo)
@raj-khan
raj-khan merged commit e4941d5 into main Aug 15, 2026
1 check passed
@raj-khan
raj-khan deleted the ci/build-test-release branch August 15, 2026 16:34
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.

1 participant