build command for different env
I have a React app created using CRA (Create React App). In Railway, I have two environments named "qa" and "production." I want my QA build command to be "NODE_ENV=qa npm run build" and the production build command to be "npm run build." However, I noticed that the build command in Railway settings seems to be shared across environments.
4 Replies