diff options
-rw-r--r-- | appveyor.yml | 8 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1a11a1e1d..1d614b4c7 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -9,9 +9,11 @@ environment: | |||
9 | version: 5.0.0.{build} | 9 | version: 5.0.0.{build} |
10 | 10 | ||
11 | install: | 11 | install: |
12 | - ps: Install-Module nvm | 12 | - ps: $version = Get-Content .\.nvmrc -Raw |
13 | - ps: Install-NodeVersion | 13 | - ps: Install-Product node $version |
14 | - ps: npm ci | 14 | - npm ci |
15 | - node --version | ||
16 | - npm --version | ||
15 | 17 | ||
16 | cache: | 18 | cache: |
17 | - '%APPDATA%\npm-cache' | 19 | - '%APPDATA%\npm-cache' |
diff --git a/package.json b/package.json index d096a3d97..3984bdc3c 100644 --- a/package.json +++ b/package.json | |||
@@ -121,7 +121,7 @@ | |||
121 | ], | 121 | ], |
122 | "husky": { | 122 | "husky": { |
123 | "hooks": { | 123 | "hooks": { |
124 | "pre-commit": "npm run lint && npm run reformat-files" | 124 | "pre-push": "npm run lint && npm run reformat-files" |
125 | } | 125 | } |
126 | } | 126 | } |
127 | } | 127 | } |