Skip to content

build: add npm run release with CI-only publication - #68

Merged
rdlabo merged 1 commit into
mainfrom
build/npm-release
Oct 22, 2026
Merged

rdlabo merged 1 commit into
mainfrom
build/npm-release

Conversation

@rdlabo

@rdlabo rdlabo commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Add npm run release using np --no-tests --no-publish --branch main, matching the other repositories. np updates the version and pushes the commit/tag; npm publication remains exclusively in GitHub Actions with Trusted Publishing and provenance.

The tag workflow now waits for Compatibility on the exact tagged main commit. Failed/cancelled CI, tags outside main and bounded wait timeout refuse publication. Existing release authorization and publish-time revalidation remain unchanged. Android source publication metadata reads package.json so future version bumps cannot leave Gradle behind. Document the interactive command and npm run release -- patch.

Validation: 28 workflow helper tests and Android release helper tests passed; actionlint, formatting and diff checks passed. The default command rejects non-main branches. An explicit dry-run on the work branch confirms npm version and git push are only planned and no npm publish task exists. No runtime implementation changes.

@rdlabo
rdlabo merged commit 6899b03 into main Oct 22, 2026
29 checks passed
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