Skip to content
Merged
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
6 changes: 4 additions & 2 deletions eng/tsp-core/pipelines/jobs/build-for-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
Contents: "*.vsix"
TargetFolder: "$(Build.ArtifactStagingDirectory)/vs-extension"

- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Publish bundled packages to package storage"
inputs:
azureSubscription: "Azure SDK Engineering System"
scriptType: batch
scriptLocation: inlineScript
inlineScript: node ./eng/tsp-core/scripts/upload-bundler-packages.js

Expand All @@ -69,10 +70,11 @@ jobs:
name: npm_packages_next

# Publish Next playground
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Publish playground"
inputs:
azureSubscription: "Azure SDK Engineering System"
scriptType: batch
scriptLocation: inlineScript
inlineScript: |
az storage blob upload-batch ^
Expand Down
4 changes: 2 additions & 2 deletions eng/tsp-core/pipelines/jobs/cli/build-tsp-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
os: windows

steps:
- task: NodeTool@0
- task: UseNode@1
displayName: Install Node.js
retryCountOnTaskFailure: 3
inputs:
versionSpec: 22.x
version: 22.x

# - script: npm install -g bun
# displayName: Install bun
Expand Down
3 changes: 2 additions & 1 deletion eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ jobs:
ls ./release
displayName: Prepare for packaging

- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Upload to storage"
inputs:
azureSubscription: "Azure SDK Engineering System"
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
echo -n "$(PACKAGE_VERSION)" > latest.txt
Expand Down
3 changes: 2 additions & 1 deletion eng/tsp-core/pipelines/jobs/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
- template: /eng/tsp-core/pipelines/templates/build.yml

- ${{ if parameters.azLogin }}:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: E2E Tests
inputs:
azureSubscription: "Azure SDK Engineering System"
scriptType: bash
scriptLocation: inlineScript
inlineScript: pnpm run test:e2e
- ${{ else }}:
Expand Down
6 changes: 3 additions & 3 deletions eng/tsp-core/pipelines/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
parameters:
- name: nodeVersion
type: string
default: 24.x
default: 24.16.0

- name: useDotNet
type: string
Expand All @@ -13,11 +13,11 @@ parameters:
default: $(Pipeline.Workspace)/.pnpm-store

steps:
- task: NodeTool@0
- task: UseNode@1
displayName: Install Node.js
retryCountOnTaskFailure: 3
inputs:
versionSpec: ${{ parameters.nodeVersion }}
version: ${{ parameters.nodeVersion }}
- ${{ if parameters.useDotNet }}:
- task: UseDotNet@2
displayName: Install .NET
Expand Down
Loading
Loading