From 37f99fca04af3ccd693a4f0d3f58bfdf99106586 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Thu, 25 Oct 2018 17:25:35 +0900
Subject: [PATCH] Update appveyor.yml

---
 appveyor.yml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 238731f145..0b8884c3a1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -12,14 +12,8 @@ platform:
 build: off
 
 install:
-  # Update Node.js
-  # 標準で入っている Node.js を更新します (2014/11/13 時点では、v0.10.32 が標準)
-  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
-  - node --version
-
-  # Update NPM
-  - npm install -g npm
-  - npm --version
+  # Get the latest stable version of Node.js or io.js
+  - ps: Install-Product node $env:nodejs_version
 
   # Update node-gyp
   # 必須! node-gyp のバージョンを上げないと、ネイティブモジュールのコンパイルに失敗します
@@ -39,4 +33,6 @@ before_test:
   - npm run build
 
 test_script:
+  - node --version
+  - npm --version
   - npm test