diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bf2318e32637..5a459dbeaa7a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,12 +10,11 @@ jobs: steps: - task: NodeTool@0 inputs: - versionSpec: '8.x' + versionSpec: '10.x' displayName: 'Install Node.js' - script: | - npm install - npm run build - displayName: 'npm install and build' + yarn + displayName: 'yarn' - script: | yarn run test-ci-partial displayName: 'test' @@ -26,11 +25,10 @@ jobs: steps: - task: NodeTool@0 inputs: - versionSpec: '8.x' + versionSpec: '10.x' displayName: 'Install Node.js' - script: | - npm install - npm run build + yarn yarn jest --color displayName: 'install, build, and test' @@ -40,12 +38,11 @@ jobs: steps: - task: NodeTool@0 inputs: - versionSpec: '8.x' + versionSpec: '10.x' displayName: 'Install Node.js' - script: | - npm install - npm run build - displayName: 'npm install and build' + yarn + displayName: 'yarn' - script: | yarn jest --color displayName: 'test'