Skip to content

Instantly share code, notes, and snippets.

@vsavkin
Created December 16, 2019 23:23
Show Gist options
  • Save vsavkin/7d2df2ac4a9e5181127ac6278cfd6b7b to your computer and use it in GitHub Desktop.
Save vsavkin/7d2df2ac4a9e5181127ac6278cfd6b7b to your computer and use it in GitHub Desktop.
jobs:
- job: ci
timeoutInMinutes: 120
pool:
vmImage: 'ubuntu-latest'
variables:
IS_PR: $[ eq(variables['Build.Reason'], 'PullRequest') ]
steps:
- template: .azure-pipelines/steps/install-node-modules.yml
- script: yarn nx affected --target=test --base=origin/master --parallel
- script: yarn nx affected --target=lint --base=origin/master --parallel
- script: yarn nx affected --target=build --base=origin/master --prod --parallel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment