- Start from an up-to-date branch based on
main. - Use a focused branch name such as
feature/...,fix/...,chore/...,refactor/..., ordocs/.... - Keep each commit to one logical unit of work.
- Push each commit so the remote branch stays current.
- Open a pull request against
main.
Run the validation path before opening or updating a pull request:
npm run check
npm test