Do I need to run upgrade , compile and deploy commands on both development and production mode ? Which commands are required if I only make changes to CSS and JS. Thanks
In your case, you just need to run
php bin/magento setup:static-content:deployunder your magento root folder. If your website is multilingual, don't forget to add various languages after this command.