From 8eb79f31ccfc01a54e6660ec4878dbb5e24fb81f 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 ++++- README.md | 2 +- appveyor.yml | 16 ---------------- ci/azure.yml | 19 +++++++++++++++++++ 4 files changed, 24 insertions(+), 18 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/README.md b/README.md index 9de326c..1c75df2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build status](https://ci.appveyor.com/api/projects/status/4nag8qas7dk96nme/branch/master?svg=true)](https://ci.appveyor.com/project/alannull/sc-ext/branch/master) +[![Build status](https://alan-null.visualstudio.com/Sitecore%20Extensions/_apis/build/status/sc_ext)](https://alan-null.visualstudio.com/Sitecore%20Extensions/_build?definitionId=11) # Sitecore Extensions 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