diff options
author | 2018-11-19 12:32:47 +0100 | |
---|---|---|
committer | 2018-11-19 12:32:47 +0100 | |
commit | c4448a2cf6a5f71d5541c7c29807de3a8181a021 (patch) | |
tree | 0397cca773aa712c22bb08f8f1466974b8786da8 | |
parent | Update spellchecker package-lock entry (diff) | |
download | ferdium-app-c4448a2cf6a5f71d5541c7c29807de3a8181a021.tar.gz ferdium-app-c4448a2cf6a5f71d5541c7c29807de3a8181a021.tar.zst ferdium-app-c4448a2cf6a5f71d5541c7c29807de3a8181a021.zip |
Test loading from nvmrc on win
-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 | } |