I found that everyone telling us to set the CI variable to false, but warning is something we should care about right? After all I see most of the CI servers implement such functionality, that I believe serve some purpose, maybe treating warnings as errors is just one of them. So instead of disabling such functionality, I think it's better to check whether you want to take these warnings in your deployed app or not. If it's something that you are expecting, for example lint warnings, then just configure your lint rules configuration or disable the lint checking on build phase, set it as separated step in the pipeline and you can set the CI variable to false on this specific stage. It feels safer than set the variable to false on the whole process if you are using for example azure static web apps deploy action
CI= npm run build
TheCI= yarn build
doesn't seem to work for some reason. – Let