resources: repositories: - repository: self type: git ref: refs/heads/feature/CX-2842 jobs: - job: Job_1 displayName: Agent job 1 pool: name: Default steps: - checkout: self - task: NodeTool@0 displayName: Install node inputs: versionSpec: 14.17.3 checkLatest: true - task: Npm@1 displayName: clean cache inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: cache clean --force - task: Npm@1 displayName: Angular CLI inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: install -g @angular/cli@12.1.1 - task: Npm@1 displayName: Remove node modules inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: rm -rf node_modules/ - task: Npm@1 displayName: Remove dist inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: rm -rf dist/ - task: Npm@1 displayName: NPM install inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: install - task: Npm@1 displayName: NPM remove ngx-gallery inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: rm @kolkov/ngx-gallery - task: Npm@1 displayName: NPM install ngx-gallery inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: install @kolkov/ngx-gallery@1.2.3 - task: Npm@1 displayName: Build inputs: command: custom workingDir: k***-m***--fed verbose: false customCommand: run build:ssr - task: CopyFiles@2 displayName: 'Copy mainJs file from server to dist folder: ' inputs: SourceFolder: k***-m***--fed/dist/k***-m***/server/ Contents: main.js TargetFolder: k***-m***--fed/dist/k***-m***/ - task: CopyFiles@2 displayName: Copy web.config file from browser to dist folder inputs: SourceFolder: k***-m***--fed/dist/k***-m***/browser/ Contents: web.config TargetFolder: k***-m***--fed/dist/k***-m***/ - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: drop' inputs: PathtoPublish: k***-m***--fed ...