Skip to content

Commit

Permalink
investigate: code build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyu99 committed Sep 3, 2024
1 parent c852973 commit 36ea1cb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ function _lint {
function _verifyAmplifyBackendCompatability {
echo "Verify Amplify Backend Compatability"

# Install NVM and set Node.js version
echo "Installing NVM and setting Node.js version"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18.16.0
nvm use 18.16.0
# # Install NVM and set Node.js version
# echo "Installing NVM and setting Node.js version"
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# nvm install 18.16.0
# nvm use 18.16.0

loadCacheFromBuildJob

Expand Down

0 comments on commit 36ea1cb

Please sign in to comment.