Conversation
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.
Motivation
main/mastere habilitar publicação automática no npmjs via tags semânticas.Description
.github/workflows/ci.ymlque executanpm cienpm run buildempull_requestepushparamain/master..github/workflows/publish-npm.ymlacionado por tagsv*.*.*(e manualmente viaworkflow_dispatch) que executanpm ci,npm run buildenpm publish --access publicusando o secretNPM_TOKEN.README.mdcom instruções de configuração do secretNPM_TOKENe fluxo de release por tag (git tag vX.Y.Zegit push origin vX.Y.Z).Testing
npm run buildlocalmente e o build completou com sucesso sem erros.npm cienpm run build) e irá rodar automaticamente em PRs e pushes nas branches configuradas.NODE_AUTH_TOKENa partir do secretNPM_TOKENe será executado apenas quando uma tag semântica for enviada; publicação real depende do secret configurado e permissões no npmjs.Codex Task
Note
Medium Risk
Adds automated release publishing to npm on tag pushes, which can impact package distribution if misconfigured. CI/build steps are straightforward but rely on correct secrets and version/tag discipline.
Overview
Adds GitHub Actions automation for CI builds and npm publishing.
A new
CIworkflow runsnpm ci+npm run buildon PRs and pushes tomain/master, and a separate publish workflow builds and runsnpm publish --access publicwhen pushing semver tags (v*.*.*) or via manual dispatch usingsecrets.NPM_TOKEN. TheREADME.mdis updated with the release/tagging and secret setup instructions.Written by Cursor Bugbot for commit 45ca054. This will update automatically on new commits. Configure here.