diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..aad4ac9 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,36 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- main + +pool: + vmImage: 'ubuntu-latest' + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' +- task: Npm@1 + inputs: + command: 'ci' +- script: | + echo node_modules contents + cat ./node_modules/npm-packlist/package.json + echo tree + npm ls + echo node version + node --version + displayName: 'checkoutput' +- task: SonatypeCloudPipelineTask@0 + inputs: + SonatypeCloudService: 'staging-cloud.sonatype.com' + stage: 'Build' + applicationId: 'cli-worm' + applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file