File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,14 +49,6 @@ extends:
4949 inputs :
5050 version : ' 22.x'
5151
52- - script : |
53- npm config set registry https://registry.npmjs.org/
54- npm config set strict-ssl false
55- npm config set fetch-retry-mintimeout 20000
56- npm config set fetch-retry-maxtimeout 120000
57- npm config set fetch-retries 10
58- displayName: 'Configure npm for Windows agent'
59-
6052 - task : Npm@1
6153 inputs :
6254 command : ' ci'
@@ -77,6 +69,10 @@ extends:
7769 inputs :
7870 filePath : ' ./scripts/copy-readme.ps1'
7971
72+ # Create npm output directory
73+ - script : mkdir -p $(Build.ArtifactStagingDirectory)/npm
74+ displayName : ' Create npm package directory'
75+
8076 # Pack Typescript sdk packages
8177 - script : npm pack --pack-destination=$(Build.ArtifactStagingDirectory)/npm --workspaces
8278 displayName : ' Generate npm packages of the Typescript msgraph sdk'
You can’t perform that action at this time.
0 commit comments