diff --git a/README.md b/README.md index 78bc2d4..abe1c4d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # vscode-policy-watcher +[![Build Status](https://dev.azure.com/monacotools/Monaco/_apis/build/status/npm/vscode/policy-watcher?repoName=microsoft%2Fvscode-policy-watcher&branchName=main)](https://dev.azure.com/monacotools/Monaco/_build/latest?definitionId=459&repoName=microsoft%2Fvscode-policy-watcher&branchName=main) + Example usage: ```js diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 566fcd6..e7f494e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,4 +27,13 @@ extends: buildSteps: - script: npm ci - script: npm run build + testPlatforms: + - name: Linux + nodeVersions: [16.x, 18.x] + - name: MacOS + nodeVersions: [16.x, 18.x] + - name: Windows + nodeVersions: [16.x, 18.x] + testSteps: + - script: npm ci publishPackage: ${{ parameters.publishPackage }}