Created
March 1, 2021 15:03
-
-
Save LouManglass/1b9a51cbbc9435443b0adb0579ddc7bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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