Simple commit workflow example for JS projects.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.eslintrc.js
.prettierrc
README.md
package.json
yarn.lock

README.md

Commit workflow

Simple commit workflow example for JS projects.

  1. Clone the repo
  2. yarn install
  3. Play around

To test out the workflow you can make a change to either math.js or add.js and git commit.

Note that changing add.js will trigger both add.test.js and math.test.js to run on the pre-commit hook, because the math module uses the add module internally, and the pre-commit hook runs jest --findRelatedTests.