From a444505e89d837f4cafb47c1f2ef74e8225fa60f Mon Sep 17 00:00:00 2001 From: Kacper Wiszczuk Date: Tue, 16 Jul 2019 20:16:41 +0200 Subject: [PATCH 1/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..daea24bc9 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,26 @@ +trigger: + - azure + +pool: + vmImage: 'windows-2019' + +steps: + - task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + + - script: yarn install + displayName: 'Install dependencies' + + - script: yarn lint + displayName: 'Linting' + + - script: yarn flow-check + displayName: 'Flow check' + + - script: yarn test:ci:unit + displayName: 'Unit tests' + + - script: yarn test:ci:e2e + displayName: 'E2e tests' From 970fef5646cf3d48b9e8bcf17fbeab1af2ab12a8 Mon Sep 17 00:00:00 2001 From: Kacper Wiszczuk Date: Tue, 16 Jul 2019 20:22:47 +0200 Subject: [PATCH 2/3] Tweak config --- azure-pipelines.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index daea24bc9..12b233b82 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,14 +13,8 @@ steps: - script: yarn install displayName: 'Install dependencies' - - script: yarn lint - displayName: 'Linting' - - - script: yarn flow-check - displayName: 'Flow check' - - script: yarn test:ci:unit displayName: 'Unit tests' - - script: yarn test:ci:e2e - displayName: 'E2e tests' + - script: yarn test:ci:e2e + displayName: 'E2E tests' From b47f0621f488fcfcc66fd68529e7f9789773bcac Mon Sep 17 00:00:00 2001 From: Kacper Wiszczuk Date: Tue, 16 Jul 2019 20:52:24 +0200 Subject: [PATCH 3/3] Fix config file --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 12b233b82..3fd93de61 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,5 @@ trigger: - - azure + - master pool: vmImage: 'windows-2019'