setup.sh 309B

12345678910111213141516
  1. #!/bin/bash
  2. cd ${OKTA_HOME}/${REPO}
  3. # Use newer, faster npm
  4. npm install -g npm@4.0.2
  5. # Install required dependencies
  6. npm install -g @okta/ci-update-package
  7. npm install -g @okta/ci-pkginfo
  8. if ! npm install --no-optional --unsafe-perm; then
  9. echo "npm install failed! Exiting..."
  10. exit ${FAILED_SETUP}
  11. fi