Skip to content

Commit 87688c2

Browse files
committed
Upgrade nodejs on builders
1 parent d1dd787 commit 87688c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/package-lock.json DESTINATION ${CMAKE_CURR
118118

119119
# Install node_modules
120120
execute_process(
121-
COMMAND ${NPM} ci # like install, but actually respects package-lock file.
121+
COMMAND ${NPM} --loglevel verbose ci # like install, but actually respects package-lock file.
122122
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
123123
RESULT_VARIABLE Result
124124
)
125125
if (NOT ${Result} EQUAL 0)
126-
message(FATAL_ERROR "npm intall failed: ${Result}")
126+
message(FATAL_ERROR "npm install failed: ${Result}")
127127
endif()
128128

129129
# Resolve $refs

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177

178178
- task: NodeTool@0
179179
inputs:
180-
versionSpec: '14.x'
180+
versionSpec: '20.x'
181181
displayName: 'Install Node.js'
182182

183183
- script: |
@@ -248,7 +248,7 @@ jobs:
248248

249249
- task: NodeTool@0
250250
inputs:
251-
versionSpec: '14.x'
251+
versionSpec: '20.x'
252252
displayName: 'Install Node.js'
253253

254254
- task: DownloadBuildArtifacts@0

0 commit comments

Comments
 (0)