Skip to content

Commit f11dd22

Browse files
authored
Switch to Node 22 and make publish to npm wait (#10830)
* Switch to Node 22 and make publish to npm wait * Update prettier
1 parent ba6a729 commit f11dd22

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

build/azuredevops/azure-pipelines-release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ extends:
6767
fetchTags: false
6868
persistCredentials: True
6969
- task: NodeTool@0
70-
displayName: Use Node 18.x
70+
displayName: Use Node 22.x
7171
inputs:
72-
versionSpec: 18.x
72+
versionSpec: 22.x
7373
- template: /build/templates/npmAuthenticate.yml@self
7474
- task: CmdLine@2
7575
displayName: npm install
@@ -167,9 +167,9 @@ extends:
167167
fetchTags: false
168168
persistCredentials: True
169169
- task: NodeTool@0
170-
displayName: Use Node 18.x
170+
displayName: Use Node 22.x
171171
inputs:
172-
versionSpec: 18.x
172+
versionSpec: 22.x
173173
- template: /build/templates/npmAuthenticate.yml@self
174174
- task: CmdLine@2
175175
displayName: npm install
@@ -259,7 +259,7 @@ extends:
259259
- checkout: none
260260
- task: NodeTool@0
261261
inputs:
262-
versionSpec: 18.x
262+
versionSpec: 22.x
263263
- task: DownloadPipelineArtifact@2
264264
displayName: 'Download Artifacts from Validation Job'
265265
inputs:
@@ -286,7 +286,9 @@ extends:
286286
vsce publish --pat $aadToken --packagePath $(System.ArtifactsDirectory)/$(VSIX_NAME) --noVerify --manifestPath $(System.ArtifactsDirectory)/extension.manifest --signaturePath $(System.ArtifactsDirectory)/extension.signature.p7s
287287
288288
- stage: PublishToNpm
289-
dependsOn: WaitForValidation
289+
dependsOn:
290+
- WaitForValidation
291+
- PublishToMarketplace
290292
jobs:
291293
- job: publish_package
292294
displayName: Publish package to NPM

0 commit comments

Comments
 (0)