Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a5dee60
updating release yml
adrian05-ms Jan 9, 2026
978d830
changing names
adrian05-ms Jan 9, 2026
900dec0
removing cache
adrian05-ms Jan 9, 2026
553738a
specifying node version
adrian05-ms Jan 9, 2026
ba456d4
testing with install
adrian05-ms Jan 9, 2026
85c1118
removing self checkout
adrian05-ms Jan 9, 2026
20a04f1
trying with npm i
adrian05-ms Jan 9, 2026
0fff46b
test 2
adrian05-ms Jan 9, 2026
cd97ba9
changing node version
adrian05-ms Jan 9, 2026
f96f6a8
test 3 with claude
adrian05-ms Jan 9, 2026
8618c96
updating image
adrian05-ms Jan 9, 2026
3becc33
fixing error
adrian05-ms Jan 9, 2026
a166645
removing working directory
adrian05-ms Jan 9, 2026
a5e7fdf
removing env
adrian05-ms Jan 9, 2026
afb2477
updating image
adrian05-ms Jan 9, 2026
61bfb90
changing image to ubuntu
adrian05-ms Jan 9, 2026
4a74b04
updating os
adrian05-ms Jan 9, 2026
118f5d1
removing linux
adrian05-ms Jan 9, 2026
2ad2028
testing with node 20
adrian05-ms Jan 9, 2026
3f106a1
test 4
adrian05-ms Jan 9, 2026
f3cf61e
test npm command
adrian05-ms Jan 9, 2026
b6d30c8
testing npm command
adrian05-ms Jan 9, 2026
cd01288
removing working directory
adrian05-ms Jan 9, 2026
de97726
test 5
adrian05-ms Jan 9, 2026
f16123e
updating os
adrian05-ms Jan 9, 2026
7895cb0
setting linux
adrian05-ms Jan 9, 2026
a49721b
removing test
adrian05-ms Jan 9, 2026
7246843
CREATING DIR
adrian05-ms Jan 9, 2026
b0a8ba9
updating pipeline
adrian05-ms Jan 9, 2026
91603bd
Merge branch 'main' into fix/sdk-release-pipeline
adrian05-ms Jan 9, 2026
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
39 changes: 23 additions & 16 deletions .azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,45 +27,52 @@ extends:
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-latest
os: windows
vmImage: windows-latest
stages:
- stage: build
jobs:
- job: build_v1_0_typings
displayName: Pack v1.0 typings
- job: build_sdk
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
os: linux
displayName: Build, Test, and Package v1.0 SDK
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish Artifact drop'
targetPath: '$(Build.ArtifactStagingDirectory)/npm'
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: npm_$(package_name)
steps:
- checkout: self
displayName: checkout main

- task: UseNode@1
displayName: 'Install Node.js'
inputs:
version: '22.x'

- script: npm ci
displayName: 'Install npm dependencies'
workingDirectory: '$(Build.SourcesDirectory)'
- task: Npm@1
inputs:
command: 'ci'
verbose: true
displayName: 'Install npm dependencies with retry'

- script: npm run build
displayName: 'Build project'
workingDirectory: '$(Build.SourcesDirectory)'

- script: npm run test
displayName: 'Run tests'
# excluding test for now since it requires a tenant and secrets to run
# TODO: create secrets to the pipeline similar to https://github.com/microsoftgraph/msgraph-sdk-typescript/settings/secrets/actions and the build.yml file
# - script: npm run test
# displayName: 'Run tests'
# workingDirectory: '$(Build.SourcesDirectory)'

- task: PowerShell@2
displayName: 'Copy README.md to packages'
inputs:
filePath: './scripts/copy-readme.ps1'


# Pack Typescript sdk packages
- script: npm pack --pack-destination=$(Build.ArtifactStagingDirectory)/npm --workspaces
- script: npm pack --pack-destination=$(Build.ArtifactStagingDirectory) --workspaces
displayName: 'Generate npm packages of the Typescript msgraph sdk'
workingDirectory: '$(Build.SourcesDirectory)'

Expand All @@ -80,8 +87,8 @@ extends:
- deployment: deploy_npm
pool:
name: Azure-Pipelines-1ESPT-ExDShared
os: windows
image: windows-latest
image: ubuntu-latest
os: linux
dependsOn: []
environment: msgraph-npm-org

Expand Down
Loading
Loading