smartprocure / futil-js

F(unctional) util(ities). Resistance is futile.
https://smartprocure.github.io/futil-js/
MIT License
967 stars 68 forks source link

Generate readme in CI #405

Closed daedalus28 closed 1 year ago

daedalus28 commented 1 year ago

The futil readme is generated by calling npm run readme, but isn't called automatically during CI

Likely just need to update duti:fix to also include npm run readme:

e.g. here: https://github.com/smartprocure/futil-js/blob/master/package.json#L20

apply a diff like this:

-    "duti:fix": "npm run fmt && npm run lint-fix && npm run fmt",
+    "duti:fix": "npm run fmt && npm run lint-fix && npm run fmt && npm run readme",