Install dependencies and keep the committed runtime file aligned with the source:
npm install
npm run buildRun the lightweight validation checks before opening a change:
node --check src/index.js
node --check dist/index.js
node scripts/test-local.jsOr use package scripts:
npm run check
npm run test:local
npm run validate:localaction.yml: GitHub Action metadatasrc/: source implementationdist/: committed runtime entrypoint for action consumersscripts/: local validation helpersdocs/: integration-facing documentation
- Keep changes focused and reviewable.
- Update
README.mdand docs when the action contract or usage changes. - Rebuild
dist/index.jsifsrc/index.jschanges. - Open a pull request with the validation commands you ran and the expected user-facing impact.
- Follow semantic versioning.
- Commit updated
dist/index.jswith each release. - Publish immutable tags such as
v0.2.0and maintain a major tag such asv1. - GitHub Marketplace publication requires a public repository with
action.ymlat the repository root.