Prevent npm from running on deploy

My understanding is that it’s not possible, based on responses in threads like this: