Repository navigation
feat(release): publish the plugin to npm - #21
Merged
Merged
Conversation
The release workflow publishes @yannelli/paseo-be-concise after the GitHub release. It uses trusted publishing when configured and the NPM_TOKEN secret otherwise.
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.
The Release workflow now publishes
@yannelli/paseo-be-conciseto npm after the GitHub release step. The step publishes thepackage.jsonversion when npm does not have it yet, so reruns complete an interrupted publish. Paseo installs it withpaseo plugin add npm:@yannelli/paseo-be-concise.package.jsondropsprivate, takes the@yannelliscoped name, lists the plugin source infiles, and sets public access with provenance. The job grantsid-token: write. npm uses trusted publishing when the package has a trusted publisher and theNPM_TOKENrepository secret otherwise.docs/npm-publishing.mdlists thenpm trustcommand, which needs a 2FA login after the first publish.Testing
npm run check(typecheck and 37 tests pass)npm pack --dry-runlists 22 files: the entries,client/,server/,shared/,paseo-plugin.json, README, and LICENSE