We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf633d2 commit ac6f41eCopy full SHA for ac6f41e
appveyor.yml
@@ -2,13 +2,7 @@
2
3
image: Visual Studio 2017
4
5
-# Test against these versions of Io.js and Node.js.
6
-environment:
7
- matrix:
8
- # node.js
9
- - nodejs_version: "10"
10
- - nodejs_version: "11"
11
- - nodejs_version: "12"
+nodejs_version: "10"
12
13
cache:
14
- node_modules
@@ -38,9 +32,11 @@ test_script:
38
32
- npm run test:it
39
33
40
34
on_success:
41
- - ps: if ($env:APPVEYOR_REPO_TAG_NAME) { echo $env:APPVEYOR_REPO_TAG_NAME }
42
- - ps: if ($env:nodejs_version = "12") { echo "node 12" }
43
- - ps: if ($env:APPVEYOR_REPO_TAG_NAME -and $env:nodejs_version = "12") { npm publish }
35
+ - ps: |
36
+ if ($env:APPVEYOR_REPO_TAG -eq "true -And $env:nodejs_version -eq "12)
37
+ {
+ npm publish
+ }
44
45
build: off
46
version: "{build}"
0 commit comments