From 0f5e67bb75a1c2b4d14ec17eebcb7c7a38b40f13 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 23 Jan 2018 23:40:07 -0500 Subject: [PATCH] Fixed: Set Node Version for Build, Reset cache on package.json change --- appveyor.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 68a82d23b..31c3cca5e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,7 @@ assembly_info: environment: DOTNET_CLI_TELEMETRY_OPTOUT: 1 + nodejs_version: "6" install: - git submodule update --init --recursive @@ -23,11 +24,13 @@ after_build: - ps: Get-ChildItem .\_artifacts\*.tar.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } test_script: + - node --version + - yarn --version - C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./test.sh Windows Unit cache: - #- '%USERPROFILE%\.nuget\packages' - #- node_modules + - '%USERPROFILE%\.nuget\packages' + - node_modules -> package.json pull_requests: do_not_increment_build_number: true