Skip to content

Commit

Permalink
chore: use yarn to run commands on CI to make output better
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Sep 10, 2018
1 parent 640ba77 commit 12209b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,7 +32,7 @@ install:
test_script:
- node --version
- yarn --version
- bolt lint
- bolt test
- yarn lint
- yarn test

build: off
8 changes: 4 additions & 4 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 12209b0

Please sign in to comment.