This is a GitHub cookiecutter template for Netlify Node.js repositories.
Please feel free to use this template when starting a new Node.js repository.
cookiecutter gh:netlify/node-template
- Create a GitHub repository and push the generated local repo
We use release please to automate release publishing.
For the release-please.yml
GitHub workflow to work you'll need to add 3 secrets to your repo:
TOKENS_PRIVATE_KEY
- a GitHub app private keyTOKENS_APP_ID
- a GitHub app idNPM_TOKEN
- annpm
automation token
The GitHub app is used to generate GitHub tokens to and should be installed on the repo and have Contents
and Pull requests
read & write permissions.
You can create a new GitHub app by visiting https://github.com/organizations/<org>/settings/apps/new
It's useful to add those secrets at an organization level instead of at the repo level
Please see CONTRIBUTING.md for instructions on how to set up and work on this repository. Thanks for contributing!