A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @_Nec
@_Nec @Netlify If you have a package.json in the root of your repo, 'npm install' will run before each build (we cache the install result until package.json changes).

But you can run different build commands depending on your your build context:

https://medium.com/netlify/10-netlify-features-to-surprise-and-delight-225e846b7b21#128d

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.