Problems running npm in yml file when building azure static web

디엔소프트 DNSOFT 196 Reputation points
2021-02-19T04:59:08.443+00:00

In the yml file for building azure static web, I tried to build the build in testBuild mode as shown in the picture, but it continues to run with npm run build. I am curious about the solution and reason.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
0 comments No comments
{count} votes

Accepted answer
  1. 디엔소프트 DNSOFT 196 Reputation points
    2021-02-19T05:29:56.617+00:00

    It's my mistake
    It was a simple typo

    api_build_command from this app_build_command had to be changed to this


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.