Skip to content

ci: publish Node SDK from GitHub releases - #27

Merged
bjarn merged 3 commits into
mainfrom
chore/manual-node-releases
Sep 7, 2026
Merged

ci: publish Node SDK from GitHub releases#27
bjarn merged 3 commits into
mainfrom
chore/manual-node-releases

Conversation

@bjarn

@bjarn bjarn commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

A push to main currently creates and publishes a release through semantic-release. This change publishes to npm only when a GitHub release is published. The workflow checks out the release tag and updates package.json and package-lock.json before the checks and build. Stable releases use latest; prereleases use next.

Remove semantic-release and its dependencies. After a successful npm upload, call the Discord workflow and open a pull request for stable version and changelog updates. Skip Discord if the webhook secret is absent.

Validation on the PR commit: clean dependency install, lint, type checks, all 42 tests, build, package preview, and actionlint passed. Eleven release-tag checks also passed, including invalid tags and prerelease routing. No package was published.

Publication uses the existing release.yaml workflow name for npm trusted publishing. The repository must permit GitHub Actions to create pull requests for version and changelog updates.

@bjarn
bjarn requested a review from Bjornftw September 7, 2026 18:44
@bjarn
bjarn merged commit 7884c7b into main Sep 7, 2026
7 checks passed
@bjarn
bjarn deleted the chore/manual-node-releases branch September 7, 2026 18:50
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.

2 participants