Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 12c0052

Browse files
committed
Workaround waiting for AppVeyor to add Node versions
1 parent 9e564a1 commit 12c0052

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
7979

8080
install:
81-
- ps: Install-Product node $env:nodejs_version $env:platform
81+
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
82+
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
8283
- node --version
8384
- npm --version
8485
- npm install
@@ -174,7 +175,8 @@
174175
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
175176

176177
install:
177-
- ps: Install-Product node $env:nodejs_version $env:platform
178+
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
179+
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
178180
- node --version
179181
- npm --version
180182
- npm install

0 commit comments

Comments
 (0)