Do we have sample .yml file to run robot scripts with azure pipelines?

Do we have sample .yml file to run robot scripts with azure pipelines?

Hello Emma,

Yes, we have .yml file to run robot scripts with azure pipelines. Please check below code.

Node.js

Build a general Node.js project with npm.

Add steps that analyze code, save build artifacts, deploy, and more:

Quickstart - Use Azure Pipelines to build and publish a Node.js package - Azure Pipelines | Microsoft Learn

trigger:

  • master

pool: vmImage: ‘ubuntu-latest’

variables: LT_USERNAME: ‘Your_username’ LT_ACCESS_KEY: ‘Your_accesskey’

steps:

  • task: NodeTool@0 inputs: versionSpec: ‘10.x’ displayName: ‘Install Node.js’

  • script: | python.exe -m pip install pip install -r requirements.txt make run_all_in_parallel