How to set an environment variable in the middle of a build pipeline execution?
I have a project that uses create-react-app for creating my react app, and i'm using azure devops to build the project and run tests, but there is a problem.
In order to run tests in a CI environment, you have to create an environment variable CI=true, but this have the effect that the build script fails if warnings are found (and my project have warnings). So my idea is running the build script first, then set the variable, then run the tests, but i haven't found how to set the variable. HELP