Last active
December 17, 2019 02:13
-
-
Save vsavkin/c432c23d200e551f2d08d5f449d88f65 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
- job: lint1 | |
dependsOn: initial_setup | |
condition: | | |
and( | |
succeeded(), | |
not(contains( | |
dependencies.initial_setup.outputs['setCommands.COMMANDS'], | |
'"lint1":[]' | |
)) | |
) | |
pool: | |
vmImage: 'ubuntu-latest' | |
variables: | |
COMMANDS: $[ dependencies.initial_setup.outputs['setCommands.COMMANDS'] ] | |
steps: | |
- template: .azure-pipelines/steps/install-node-modules.yml | |
- script: node ./tools/scripts/run-many.js '$(COMMANDS)' lint1 lint |
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
const array = | |
execSync(`npx nx print-affected --base=${baseSha} --target=${target} --select="tasks.target.project"`) | |
.toString() | |
.trim() | |
.split(', '); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment