Skip to content
Merged
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
20 changes: 7 additions & 13 deletions .azure-pipelines/daily-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,14 @@ extends:
inputs:
versionSpec: '20.x'

- script: |
echo "registry=$(NPM_REGISTRY_URL)" > .npmrc
echo "always-auth=true" >> .npmrc
displayName: Create .npmrc for Azure Artifacts feed
workingDirectory: $(Build.SourcesDirectory)

- task: npmAuthenticate@0
displayName: Authenticate npm
inputs:
workingFile: $(Build.SourcesDirectory)/.npmrc

- script: npm ci
- task: npm@1
displayName: Install dependencies
workingDirectory: $(Build.SourcesDirectory)
inputs:
command: 'ci'
verbose: true
customRegistry: 'useFeed'
customFeed: 'Graph Developer Experiences/msgraph-typescript'
workingDir: '$(Build.SourcesDirectory)'

- script: npm run build --workspaces
displayName: Build SDK
Expand Down