message: Move travis scripts to yarn
diff: @@ -2,23 +2,21 @@ language: node_js
  cache: yarn
  notifications:
  email: false
  -before_script:
  - - npm prune
  script:
  - yarn ci
  after_success:
  - if [ ${TRAVIS_SECURE_ENV_VARS} = "true" ]; then
  - npm run travis-deploy-once "npm run chromatic";
  + yarn travis-deploy-once "yarn chromatic";
  if [ -n "$TRAVIS_PULL_REQUEST_SHA" ]; then
  - npm run travis-deploy-once "npm run deploy-preview -- -d braid-design-system--${TRAVIS_PULL_REQUEST_SHA}.surge.sh";
  - npm run travis-deploy-once "npm run post-commit-status";
  + yarn travis-deploy-once "yarn deploy-preview -- -d braid-design-system--${TRAVIS_PULL_REQUEST_SHA}.surge.sh";
  + yarn travis-deploy-once "yarn post-commit-status";
  elif [ "$TRAVIS_BRANCH" == "master" ]; then
  git config --global user.name "seek-oss-ci";
  git config --global user.email "opensource@seek.com.au";
  - npm run travis-deploy-once "npm run deploy";
  + yarn travis-deploy-once "yarn deploy";
  fi
  fi
  branches:
  