Skip to content

Instantly share code, notes, and snippets.

View jordanvector's full-sized avatar

Jordan Schinella jordanvector

View GitHub Profile
@toan-tam
toan-tam / .magento.app.yaml-build-hook
Last active May 5, 2022 08:05
.magento.app.yaml build hook
# We run build hooks before your application has been packaged.
build: |
set -e
echo "\n================================== Install and configure Baler - Start =================================="
echo "================= Install and configure Baler - Upgrade node version 14.4.0 - Start ================="
unset NPM_CONFIG_PREFIX
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | dash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"