Update version and dependencies Node.js projects
- Update source code with provided script
- Update package version
- Update specified dependencies to their latest version
- Update other dependencies to the latest semver compatible version
- Install updated dependencies and update lockfile
- Run tests with updated dependencies to detect regressions
- Commit changes and push to the repository
All inputs are optional, using their default values if not provided.
dependencies-update-latest
: List of dependencies to update to their latest version. Default:[]
new_version
: New version to set inpackage.json
.node_auth_token
: Github authentication token for installing npm dependencies from Github Packages Registry.reference-package-name
: Name of the package to use as reference for updating other dependencies.update-script
: Script to update source code.user-email
: Email to use for the commit. Default: Github Actions bot emailuser-name
: Name to use for the commit. Default: Github Actions bot name