Skip to content

Commit 4e45ba0

Browse files
authored
sets node version (#4980)
1 parent c7f027e commit 4e45ba0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.azure-pipelines/publish-stable.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ extends:
3939
testPlatforms: []
4040
skipAPIScan: true # package build requires Linux
4141
buildSteps:
42+
- task: NodeTool@0
43+
inputs:
44+
versionSource: fromFile
45+
versionFilePath: .nvmrc
46+
nodejsMirror: https://github.com/joaomoreno/node-mirror/releases/download
47+
4248
- script: sudo apt install -y libkrb5-dev
4349
displayName: Install libkrb5-dev
4450

@@ -59,6 +65,12 @@ extends:
5965
testPlatforms: []
6066
skipAPIScan: true # package build requires Linux
6167
buildSteps:
68+
- task: NodeTool@0
69+
inputs:
70+
versionSource: fromFile
71+
versionFilePath: .nvmrc
72+
nodejsMirror: https://github.com/joaomoreno/node-mirror/releases/download
73+
6274
- script: npm ci
6375
displayName: Install NPM dependencies
6476

0 commit comments

Comments
 (0)