miguelcolmenares/NPM Auto Build
🚀 Automatically build and commit your npm project's build files to your repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | NPM script to build your package. Default to build | no | build |
| directory | Directory that contains the package.json file that you want to build | no | . |
| commit-message | Commit message for the build changes | no | chore: update build files |
| build-dir | Directory where build files are generated (relative to project root) | no | dist |
| github-token | GitHub token for committing changes | yes | — |
| git-user-name | Git user name for commits | no | github-actions[bot] |
| git-user-email | Git user email for commits | no | github-actions[bot]@users.noreply.github.com |
| node-version | Node.js version to use for building | no | 18 |
| build-only | Only build without committing changes (useful for testing) | no | false |
| create-pr | Create a pull request instead of direct push (for protected branches) | no | false |
Outputs
no outputs