Skip to content

ci: add GitHub Actions workflows for CI and npm publish#27

Merged
unhappychoice merged 4 commits into
mainfrom
ci/github-actions
Apr 3, 2026
Merged

ci: add GitHub Actions workflows for CI and npm publish#27
unhappychoice merged 4 commits into
mainfrom
ci/github-actions

Conversation

@unhappychoice

Copy link
Copy Markdown
Member

Summary

  • CI workflow (ci.yml): runs lint, build, test on push/PR to main (Node 24)
  • Publish workflow (publish.yml): automated npm publish with provenance on GitHub Release
  • Add prepublishOnly script to ensure build + test before manual publish

Workflows

Workflow Trigger Steps
CI push/PR to main npm ci, lint, build, test
Publish GitHub Release published npm ci, lint, build, test, npm publish

Closes #26

- CI: lint, build, test on push/PR to main (Node 24)
- Publish: automated npm publish on GitHub Release with provenance
- Add prepublishOnly script to package.json

Closes #26
- workflow_dispatch with version input
- Bumps package.json version, runs full CI, publishes to npm
- Creates git tag and GitHub Release with auto-generated notes
@unhappychoice unhappychoice merged commit 9af9058 into main Apr 3, 2026
2 checks passed
@unhappychoice unhappychoice deleted the ci/github-actions branch April 3, 2026 16:08
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.

Add CI/CD GitHub Actions (test, lint, publish)

1 participant