image: node:latest
definitions:
steps:
- step: &deployWeb
name: deploy web
script: &deployWebScript
- npm install
- npm run ng build -- --configuration=production
pipelines:
custom:
deploy-to-QA:
- step:
<<: *deployWeb
name: Deploy to QA
deployment: test
here is my bitbucket-pipelines.yml for an angular application and I'm getting a build error on npm install with the following error
/opt/atlassian/pipelines/agent/tmp/shellScript16212036659655199428.sh: line 4: npm: not found