Repository navigation
Publish to npm on release - #50
Merged
Merged
Conversation
npm still has 0.1.0 while v0.2.1 is released, because nothing published it. The workflow checks the tag matches package.json, builds, runs the tests, checks the tarball and publishes with provenance. Without an NPM_TOKEN secret (or NPM_TRUSTED_PUBLISHING) it skips with a warning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm still has
@escalated-dev/plugin-sdk0.1.0 while v0.2.1 is released, because no workflow published it (install-readiness audit, 2026-11-27).This adds
.github/workflows/npm-publish.yml, modelled on escalated-nestjs. It runs on a published release, or by hand with a tag. It then:run-tests.yml.mainandtypesmust be present, with nosrc/,tests/or.github/. Locallynpm pack --dry-rungives 35 files:build/, LICENSE, package.json, README.nexttag.Without an
NPM_TOKENsecret (or theNPM_TRUSTED_PUBLISHINGvariable set totrue), the publish step skips with a warning rather than the green notice the other repos use, so a missing token shows up.To publish 0.2.1 after merging, add
NPM_TOKENand run "Publish to npm" with tagv0.2.1. The tag's package.json is already 0.2.1. escalated-adonis can then depend on the npm package instead of the GitHub tarball.