Npm strapi build on azure devops

Hey people, I have a question? I’m setting up an Azure DevOps pipeline for a Strapi project but I’m missing something somewhere, getting these errors ##[warning]Couldn’t find a debug log in the cache or working directory & ‘strapi’ is not recognized as an internal or external command here is a sample of the pipeline :

trigger:

  • staging

pool:
vmImage: windows-latest

steps:

  • task: Npm@1
    displayName: ‘NPM Install’
    inputs:
    command: install
    verbose: false

  • task: Npm@1
    displayName: ‘NPM Frontend Build’
    inputs:
    command: custom
    workingDir: ‘$(Build.SourcesDirectory)/frontend/’
    verbose: false
    customCommand: ‘run build’

  • task: Npm@1
    displayName: ‘NPM Backend Build’
    inputs:
    command: custom
    workingDir: ‘$(Build.SourcesDirectory)/backend/’
    verbose: false
    customCommand: ‘run build’

  • task: Npm@1
    displayName: ‘NPM Test’
    inputs:
    command: custom
    verbose: false
    customCommand: test

  • task: ArchiveFiles@2
    inputs:
    rootFolderOrFile: ‘$(Build.BinariesDirectory)’
    includeRootFolder: true
    archiveType: ‘zip’
    archiveFile: ‘$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip’
    replaceExistingArchive: true

  • task: PublishBuildArtifacts@1
    inputs:
    PathtoPublish: ‘$(Build.ArtifactStagingDirectory)’
    ArtifactName: ‘artifact’
    publishLocation: ‘Container’

Anything I should add, remove to get it working.

Thanks.