From 6180251ea1453131791ee49062dbb1775a32745b Mon Sep 17 00:00:00 2001 From: Mykola <3277207+kolya182@users.noreply.github.com> Date: Fri, 17 Jan 2020 14:15:14 +0900 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..724c95b57 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +trigger: + - master + +pool: + vmImage: 'ubuntu-latest' + +variables: + npm_config_cache: '$(Pipeline.Workspace)/.npm' + +steps: + - task: NodeTool@0 + inputs: + versionSpec: '12.x' + displayName: Install Node.js + + - script: npm install + displayName: Install project dependencies + + - task: Cache@2 + inputs: + key: 'npm | "$(Agent.OS)" | package-lock.json' + path: $(npm_config_cache) + displayName: Cache npm + + - script: npm t \ No newline at end of file