momo5501
momo5501
RRailway
Created by momo5501 on 8/2/2023 in #✋|help
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.
6 replies