Skip to content

Commit 331c598

Browse files
committed
Fix UseNode@0 syntax error
1 parent 3f25382 commit 331c598

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/pipelines/ecosystems/customize-javascript.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you need a version of Node.js and npm that isn't already installed on the Mic
2626
> The hosted agents are regularly updated, and setting up this task results in spending significant time updating to a newer minor version every time the pipeline is run. Use this task only when you need a specific Node version in your pipeline.
2727
2828
```yaml
29-
- task: NodeTool@1
29+
- task: UseNode@1
3030
inputs:
3131
version: '16.x' # replace this value with the version that you need for your project
3232
```
@@ -64,7 +64,7 @@ strategy:
6464
node_version: 18.x
6565
6666
steps:
67-
- task: NodeTool@1
67+
- task: UseNode@1
6868
inputs:
6969
version: $(node_version)
7070
@@ -415,7 +415,7 @@ pool:
415415
vmImage: 'ubuntu-latest'
416416
417417
steps:
418-
- task: NodeTool@1
418+
- task: UseNode@1
419419
inputs:
420420
version: '16.x'
421421
displayName: 'Install Node.js'
@@ -732,7 +732,7 @@ steps: # Checking out connected repo
732732
workingFile: .npmrc
733733
customEndpoint: 'my-npm-connection'
734734
735-
- task: NodeTool@1
735+
- task: UseNode@1
736736
inputs:
737737
version: '16.x'
738738
displayName: 'Install Node.js'

docs/pipelines/ecosystems/deploy-linux-vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ You need a CI build pipeline that publishes your web app. You also need a deploy
148148
- job: Build
149149
displayName: Build
150150
steps:
151-
- task: NodeTool@1
151+
- task: UseNode@1
152152
inputs:
153153
version: '16.x'
154154
displayName: 'Install Node.js'

docs/pipelines/ecosystems/javascript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ When you're done, you have a working YAML file *azure-pipelines.yml* in your rep
9797
vmImage: 'ubuntu-latest'
9898

9999
steps:
100-
- task: NodeTool@1
100+
- task: UseNode@1
101101
inputs:
102102
version: '16.x'
103103
displayName: 'Install Node.js'

docs/pipelines/migrate/from-travis.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For example, to select Node.JS 16.x:
5757
**azure-pipelines.yml**
5858
``` yaml
5959
steps:
60-
- task: NodeTool@1
60+
- task: UseNode@1
6161
inputs:
6262
version: '16.x'
6363
```
@@ -113,7 +113,7 @@ build environment targets both Node.JS 16.x and Ruby 3.2 or better:
113113
**azure-pipelines.yml**
114114
``` yaml
115115
steps:
116-
- task: NodeTool@1
116+
- task: UseNode@1
117117
inputs:
118118
version: '8.x'
119119
- task: UseRubyVersion@0

docs/pipelines/process/tasks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ pool:
395395
396396
steps:
397397
# Node install
398-
- task: NodeTool@1
398+
- task: UseNode@1
399399
displayName: Node install
400400
inputs:
401401
version: '16.x' # The version we're installing

0 commit comments

Comments
 (0)