Azure devops build pipeline

Hello!

We are trying to setup a continous build and deployment in azure devops for a project based on Litium Accelerator 7.4.2
.
But we run into a build error when we are trying to run BuildClientProjects.ps1
At D:\a\1\s\Src\BuildClientProjects.ps1:20 char:1
+ &$yarnCommand run prod
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Browserslist: c… yarn upgrade:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

Is there anyone out in the community using azure devops for building their litium projects with azure build pipelines that can share their experience how to setup the pipeline?

Litium version: 7.4.2

Hi,

We are using the azure devops pipelines with yaml build definitions. We use an yarn extension
https://marketplace.visualstudio.com/items?itemName=geeklearningio.gl-vsts-tasks-yarn&targetId=a70d5769-9fb2-4162-a7ad-9941a130cc1f&utm_source=vstsproduct&utm_medium=ExtHubManageList

This is how we do the yarn build (litium 7.3.3, but should work for later versions):

- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
  displayName: 'Use Yarn 1.x'
  inputs:
    checkLatest: true

- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2
  displayName: 'Yarn install'
  inputs:
    ProjectDirectory: Src/Litium.Accelerator.Mvc

- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2
  displayName: 'Yarn Build Prod'
  inputs:
    ProjectDirectory: Src/Litium.Accelerator.Mvc
    Arguments: prod

You can find som info here also: https://github.com/martenw/litium-devops