From 12209b00d9182162474923f51c17d43cf7b02b36 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 10 Sep 2018 14:32:34 +1000 Subject: [PATCH] chore: use yarn to run commands on CI to make output better --- .appveyor.yml | 6 +++--- ci/script.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 346a4a595e..e6d6e19e33 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -19,7 +19,7 @@ install: - if not exist "node_modules" mkdir node_modules - ps: Remove-Item node_modules -Recurse -Force - bolt -- bolt build +- yarn build - ps: | $wixToolsetBinPath = ";C:\Program Files (x86)\WiX Toolset v3.11\bin;" $env:PATH = $env:PATH + $wixToolsetBinPath @@ -32,7 +32,7 @@ install: test_script: - node --version - yarn --version -- bolt lint -- bolt test +- yarn lint +- yarn test build: off diff --git a/ci/script.sh b/ci/script.sh index 90ea9ec3a7..8182a977a0 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -6,12 +6,12 @@ if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then sudo docker run --privileged --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER else bolt - bolt build - bolt lint - bolt ws test + yarn build + yarn lint + yarn test echo "$NODE_INSTALLER-$TRAVIS_SECURE_ENV_VARS-$TRAVIS_BRANCH" if [[ "$NODE_INSTALLER-$TRAVIS_SECURE_ENV_VARS-$TRAVIS_BRANCH" = "yarn-true-master" ]]; then npm i -g now - bolt docs:deploy:ci + yarn docs:deploy:ci fi fi