How node modules re installed for next deployment

hey @umerfarad ! in the scenario you described:

only minor copy/text changes—no updates to package.json, yarn.lock, or any dependencies

The build should reuse the previous cache. Updates to certain files, such as the ones you mentioned (package.json, yarn.lock), will cause the build to rerun the installation command.