From 2df9e4cc4b93abc71659c216c07d1a6c78909f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 13 Feb 2018 16:34:26 +0100 Subject: [PATCH] Use preinstalled Yarn on Appveyor (#5548) * Use preinstalled Yarn on Appveyor * Simplify config --- appveyor.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 258222fd12c3..0ce7d699fc34 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,17 +10,15 @@ init: install: - ps: Install-Product node $env:nodejs_version x64 - node --version - - curl -fsSL -o yarn.js https://github.com/yarnpkg/yarn/releases/download/v1.3.2/yarn-1.3.2.js - - node ./yarn.js --version - - node ./yarn.js install - - node ./yarn.js run build + - yarn cache: - node_modules - .eslintcache + - "%LOCALAPPDATA%\\Yarn" test_script: - - node ./yarn.js run jest --color + - yarn jest --color # Don't actually build. build: off