Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
fix: Updates for internal CI scripts (#258)
Browse files Browse the repository at this point in the history
* Fallback to default npm in environment
* Add yarn path
  • Loading branch information
robertjd authored and robertdamphousse-okta committed Aug 7, 2018
1 parent 6ed738c commit 2e251da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Add yarn to the $PATH so npm cli commands do not fail
export PATH="${PATH}:$(yarn global bin)"

cd ${OKTA_HOME}/${REPO}

# undo permissions change on scripts/publish.sh
Expand All @@ -12,9 +15,6 @@ git reset --hard $SHA
git config --global user.email "[email protected]"
git config --global user.name "oktauploader-okta"

# Use newer, faster npm
npm install -g [email protected]

# Install required dependencies
npm install -g lerna

Expand Down

0 comments on commit 2e251da

Please sign in to comment.