Skip to content

Add CI and release GitHub Actions workflows#5

Merged
rodrigok merged 1 commit into
mainfrom
ci/build-and-release-workflows
Jun 24, 2026
Merged

Add CI and release GitHub Actions workflows#5
rodrigok merged 1 commit into
mainfrom
ci/build-and-release-workflows

Conversation

@rodrigok

Copy link
Copy Markdown
Member
  • CI (ci.yml): on push to main, PRs, and manual dispatch — runs lint, typecheck (tsc --noEmit), and make package, then uploads the plugin zip as a downloadable artifact. Never bumps the version.
  • Release (release.yml): manually triggered — reads the version from package.json, builds the zip, and creates a v tag plus a GitHub release with the zip attached. Fails if the version is already released.
  • Makefile: split bumping from packaging. make package now builds/zips with the current version (no bump); make release (and default make) bumps first. CI uses make package.
  • src/index.ts: add explicit return types, a type-only import, and void the floating button.update() promise so npm run lint passes in CI.
  • README: document the CI and release workflows and the new make targets.

- CI (ci.yml): on push to main, PRs, and manual dispatch — runs lint,
  typecheck (tsc --noEmit), and `make package`, then uploads the plugin
  zip as a downloadable artifact. Never bumps the version.
- Release (release.yml): manually triggered — reads the version from
  package.json, builds the zip, and creates a v<version> tag plus a
  GitHub release with the zip attached. Fails if the version is already
  released.
- Makefile: split bumping from packaging. `make package` now builds/zips
  with the current version (no bump); `make release` (and default `make`)
  bumps first. CI uses `make package`.
- src/index.ts: add explicit return types, a type-only import, and void
  the floating button.update() promise so `npm run lint` passes in CI.
- README: document the CI and release workflows and the new make targets.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rodrigok rodrigok merged commit 19ce5d1 into main Jun 24, 2026
1 check passed
@rodrigok rodrigok deleted the ci/build-and-release-workflows branch June 24, 2026 14:27
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