Skip to content

Commit

Permalink
Update ci_post_clone.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Oct 14, 2024
1 parent 6b2df6f commit 5f8b56d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions apps/box/ios/ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
set -e

# Install Node.js
NODE_VERSION=16
NODE_VERSION=18
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install $NODE_VERSION
nvm use $NODE_VERSION

# Install Yarn
npm install -g yarn

# Install CocoaPods
brew install cocoapods

Expand All @@ -32,6 +35,7 @@ pod install
# Return to the project root
cd /Volumes/workspace/repository

# Print Node.js and npm versions for debugging
# Print Node.js, npm, and Yarn versions for debugging
node --version
npm --version
npm --version
yarn --version

0 comments on commit 5f8b56d

Please sign in to comment.