I'm trying to publish a node/express app to Azure Web Apps using Github Actions.
I assume that Azure knows how to run a node app because it defaults to "npm run start", but mine is based on a starter kit suite that uses "npm run serve" instead. How can I tell Azure how to run my app once it's deployed?
Somebody pointed out a workaround in the comments but didn't post it as answer so here it is...
You can just point one script at another, so {"start" : "npm run serve"} works perfectly well.
1.4m articles
1.4m replys
5 comments
57.0k users