From f3ec04c8fa1aafb1063a7b5597cdace9332ddd48 Mon Sep 17 00:00:00 2001 From: "Jason Thompson (ID CXP)" Date: Thu, 18 Nov 2021 21:12:48 -0500 Subject: [PATCH] Update pipeline --- build/azure-pipelines/azure-pipelines-cd.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/azure-pipelines/azure-pipelines-cd.yml b/build/azure-pipelines/azure-pipelines-cd.yml index b120f38..77303e9 100644 --- a/build/azure-pipelines/azure-pipelines-cd.yml +++ b/build/azure-pipelines/azure-pipelines-cd.yml @@ -41,6 +41,8 @@ stages: - job: Prepare variables: skipComponentGovernanceDetection: true + pool: + vmImage: 'windows-latest' steps: #- checkout: none - download: CI @@ -52,6 +54,11 @@ stages: filePath: '$(System.DefaultWorkingDirectory)/build/Get-PSModuleInfo.ps1' arguments: '-ModuleManifestPath "$(Pipeline.Workspace)/CI/$(artifactModule)/*/*.psd1" -PackagesConfigPath "$(Build.SourcesDirectory)"' pwsh: true + - task: PSScriptAnalyzer@1 + inputs: + Path: '$(Pipeline.Workspace)/CI/$(artifactModule)' + Settings: 'required' + Recurse: true # - job: Build # displayName: 'Update Build'