Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save LouManglass/1b9a51cbbc9435443b0adb0579ddc7bf to your computer and use it in GitHub Desktop.
Save LouManglass/1b9a51cbbc9435443b0adb0579ddc7bf to your computer and use it in GitHub Desktop.
pr:
main
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '15.x'
displayName: 'Install Node.js'
- script: |
npm install @useoptic/cli
displayName: 'Install Optic'
- script: |
<Build your project here so we can run it with Optic>
displayName: 'Any build requirements run here'
- script: |
npx api run run-diff-tests --exit-on-diff
displayName: 'Run Optic tests'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment