From 6d61e8ea827ddc8a46077b3a67ad457dd58da9c9 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Sat, 2 Nov 2019 17:12:00 +0800 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..f9b6419 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# Node.js with webpack +# Build a Node.js project using the webpack CLI. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install -g webpack webpack-cli --save-dev + npm install + npx webpack --config webpack.config.js + displayName: 'npm install, run webpack'