Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ node_modules
SdkCodeGen

output/*
package-lock.json

# Typescript output
.nyc_output/
Expand All @@ -94,6 +95,7 @@ dist/
test-results.xml
xunit.xml
*.tgz
!.eslintrc.js

# Rollup
!rollup.config.js
Expand All @@ -102,4 +104,4 @@ xunit.xml
*.log
*.auth

package-deps.json
package-deps.json
128 changes: 65 additions & 63 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,68 @@
trigger:
- master
- master

jobs:
- job: Test
pool:
vmImage: 'Ubuntu 18.04'
strategy:
matrix:
Node12:
node.version: 12.x
Node13:
node.version: 13.x
steps:
- task: NodeTool@0
displayName: 'Install Node'
inputs:
versionSpec: $(node.version)
- task: Npm@1
displayName: 'npm install'
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: 'npm run build'
inputs:
command: custom
verbose: false
customCommand: run build
- task: Npm@1
displayName: 'npm test'
inputs:
command: custom
verbose: false
customCommand: test
- job: Pack
pool:
vmImage: 'Ubuntu 18.04'
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: 'npm pack'
inputs:
command: custom
verbose: false
customCommand: pack
- task: Npm@1
displayName: 'npm run check:everything -- --azure-devops'
inputs:
command: custom
verbose: false
customCommand: run check:everything -- --azure-devops
- task: CopyFiles@2
displayName: 'Copy Files to: drop'
inputs:
Contents: '*.tgz'
TargetFolder: drop
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)/drop
- job: Test
pool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals AzurePipelinesUbuntu20.04compliant
strategy:
matrix:
Node18:
node.version: 18.x
steps:
- task: NodeTool@0
displayName: "Install Node"
inputs:
versionSpec: $(node.version)
- task: Npm@1
displayName: "npm install"
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: "npm run build"
inputs:
command: custom
verbose: false
customCommand: run build
- task: Npm@1
displayName: "npm test"
inputs:
command: custom
verbose: false
customCommand: test
- job: Pack
pool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals AzurePipelinesUbuntu20.04compliant
steps:
- task: Npm@1
displayName: "npm install"
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: "npm pack"
inputs:
command: custom
verbose: false
customCommand: pack
- task: Npm@1
displayName: "npm run check:everything -- --azure-devops"
inputs:
command: custom
verbose: false
customCommand: run check:everything -- --azure-devops
- task: CopyFiles@2
displayName: "Copy Files to: drop"
inputs:
Contents: "*.tgz"
TargetFolder: drop
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)/drop
Loading