############################################################################################### # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. ############################################################################################### parameters: - name: package steps: - script: npm install --root-only workingDirectory: $(Build.SourcesDirectory) displayName: Install dependencies - bash: | /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo ">>> Started xvfb" displayName: Start xvfb condition: eq(variables['Agent.OS'], 'Linux')