diff --git a/appveyor.yml b/appveyor.yml
index 576ed44dbd..9522f3bbfa 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,6 +5,9 @@ environment:
   matrix:
     - nodejs_version: 10.1.0
 
+cache:
+  - node_modules
+
 build: off
 
 install:
@@ -27,5 +30,8 @@ init:
   # git clone の際の改行を変換しないようにします
   - git config --global core.autocrlf false
 
+before_test:
+  - npm run build
+
 test_script:
   - npm test