From 40aa8030143da5f25a6c73e1427dc8a587b845f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alan=20P=C5=82=C3=B3cieniak?= Date: Sat, 15 Oct 2022 10:36:03 +0200 Subject: [PATCH] #149 | Update continuous integration --- .vscode/settings.json | 5 ++++- appveyor.yml | 16 ---------------- ci/azure.yml | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 appveyor.yml create mode 100644 ci/azure.yml diff --git a/.vscode/settings.json b/.vscode/settings.json index 7d8b323..e5922a3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,5 +18,8 @@ "search.exclude": { "**/dist": true }, - "files.defaultLanguage": "typescript" + "files.defaultLanguage": "typescript", + "files.associations": { + "**/ci/*.yml": "azure-pipelines" + }, } \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e83e5f3..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,16 +0,0 @@ -init: - - git config --global core.autocrlf true -environment: - matrix: - - nodejs_version: "5" -install: - - npm install -g npm - - npm install -test_script: - - node --version && npm --version - - cmd: npm run build -build: off -matrix: - fast_finish: true -cache: - - node_modules -> package.json diff --git a/ci/azure.yml b/ci/azure.yml new file mode 100644 index 0000000..6d40a79 --- /dev/null +++ b/ci/azure.yml @@ -0,0 +1,19 @@ +pool: + name: Azure Pipelines +steps: + - task: NodeTool@0 + displayName: "Use Node 8.2.1" + inputs: + versionSpec: 8.2.1 + + - powershell: | + npm install + npm -g install gulp-cli + gulp package + displayName: Main + + - task: PublishBuildArtifacts@1 + displayName: "Publish artifacts" + inputs: + PathtoPublish: package + ArtifactName: package