Contributing to Setup V
July 15, 2026 · View on GitHub
Thanks for your interest in improving setup-v! This document explains how to
get started.
Development setup
You will need Node.js (version 24 or later) and npm.
npm ci
npm run build # compile TypeScript to lib/ (type-check)
npm run package # bundle src/ into the committed dist/index.js via ncc
npm run lint # eslint
npm run test # vitest
npm run all # build + format + lint + package + test
Project layout
src/— TypeScript source (action entry point, installer, helpers).dist/index.js— the bundled output that GitHub Actions actually runs. It is committed on purpose; rebuild it withnpm run packageafter any change tosrc/and include the regenerateddist/in your PR..github/workflows/— CI (ci.yml) and thedistconsistency check (check-dist.yml).
Pull requests
- Fork the repository and create a feature branch from
main. - Make your change, keeping the scope focused (one concern per PR).
- Run
npm run alland make sure lint, tests, and thedistbuild pass. - Commit
dist/index.js(and its map) whenever you changesrc/. - Open the PR with a clear description and reference any related issue
(e.g.
Closes #123).
Reporting issues
- For bugs and feature requests, open a GitHub issue.
- For security vulnerabilities, follow the policy in SECURITY.md and report privately — do not open a public issue.
Code style
Code is formatted with Prettier and linted with ESLint
(eslint-plugin-github). Run npm run format before committing.
License
By contributing, you agree that your contributions will be licensed under the MIT License.