Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

chore: disable install node #897

Draft
wants to merge 2 commits into
base: focal
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ mkdir -p $NETLIFY_CACHE_DIR/node_version
mkdir -p $NETLIFY_CACHE_DIR/ruby_version
mkdir -p $NETLIFY_CACHE_DIR/swift_version

source $NVM_DIR/nvm.sh

# pwd caches
NETLIFY_JS_WORKSPACES_CACHE_DIR="$NETLIFY_CACHE_DIR/js-workspaces"

Expand Down Expand Up @@ -296,7 +298,7 @@ install_node() {
local defaultNodeVersion=$1
local featureFlags=$2

source $NVM_DIR/nvm.sh

: ${NODE_VERSION="$defaultNodeVersion"}

# restore only non-existing cached versions
Expand Down Expand Up @@ -390,7 +392,7 @@ install_dependencies() {
fi

# Node.js version
install_node "$defaultNodeVersion" "$featureFlags"
# install_node "$defaultNodeVersion" "$featureFlags"

# Automatically installed Build plugins
if [ ! -d "$PWD/.netlify" ]
Expand Down