npm run start and npm run publish is not picking up package.json when we try to run it through yaml pipeline.
Node version used:14.21
NPM Version :6.48
We are using this code for last two years. Currently we decided to merge the latest changes.So when we took the latest code and run the pipeline to publish its not working
Reproduction steps
Create a yaml pipeline to deploy the code in static website.
NPm Run Publish istaking long time and build fails without any exception getting logged.
3.We are getting timeout exception from the pipline.
Same code with same npm and node version working from command prompt.
Expected behavior
NPM run publish has to publish the website in same way as that of local
Is your portal managed or self-hosted? Self-hosted
Release tag or commit SHA (if using self-hosted version)
Bug description
npm run start and npm run publish is not picking up package.json when we try to run it through yaml pipeline.
Node version used:14.21 NPM Version :6.48
We are using this code for last two years. Currently we decided to merge the latest changes.So when we took the latest code and run the pipeline to publish its not working
Reproduction steps
Expected behavior
NPM run publish has to publish the website in same way as that of local
Is your portal managed or self-hosted? Self-hosted
Release tag or commit SHA (if using self-hosted version)
latest
API Management service name
[e.g., contoso-api]
Environment
Additional context
Attached Yaml for reference DeploymentTemplate.txt