title: How to manually add "script" in an Azure CI Pipeline?
body: <p>I have a node.js/typescript/angular project in BitBucket that I want to create a build (CI) pipeline for it on Azure Devops. I used the classic editor to create the pipeline (reason below) and am trying to add the following task(s)/step(s):</p>
  <ol>
  <li>npm install @types/node@8.10.52</li>
  <li>ng build (ng is angular)</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/WZP0B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WZP0B.png" alt="classic editor pipeline" /></a></p>
  <p>If was to use the YAML configuration, the resulting YAML file looks like the following file below, so how do i create a &quot;script&quot; manually after the Node task i have in classic editor? I only have options to add &quot;npm&quot; as a task, which is why i have added 3 npm tasks as shown in image above with 3 separate custom commands to mimic the steps configuration in the YML file below. Is that the way to do it with custom command?</p>
  <p>YAML file npm/angular representation via YAML configuration:</p>
  <pre><code>trigger:
  - master
  
  pool:
    vmImage: 'ubuntu-latest'
  
  steps:
  - task: NodeTool@0
    inputs:
      versionSpec: '10.x'
    displayName: 'Install Node.js'
  
  - script: |
      npm install -g @angular/cli
      npm install
      ng build --prod
    displayName: 'npm install and build'
  </code></pre>
  <p><strong>Reason why Im using classic editor:</strong></p>
  <p>When i tried saving the YAML configuration pipeline, i got a &quot;Error from bitbucket: something went wrong&quot; error, which appears to be a write-permission issue based on what i found from Atlassian forums.</p>
  <p>So i ended up just using the classic pipeline editor, and this way i was able to select a specific branch (i.e. dev) instead of master (prod) branch.</p>