Fix: nodejs glibc dependency error

pull/437/head
Frostebite 2022-11-01 12:43:20 +00:00
parent d1a685150d
commit adb8e33eaf
3 changed files with 15 additions and 5 deletions

9
dist/index.js vendored
View File

@ -5617,8 +5617,13 @@ class BuildAutomationWorkflow {
return `apt-get update > /dev/null
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install 18.0.0
nvm use 18.0.0
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \\. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \\. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source ~/.bash_profile
command -v nvm
nvm install 16.0.0
nvm use 16.0.0
ldd --version
npm --version
nodejs --version

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -70,8 +70,13 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
return `apt-get update > /dev/null
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install 18.0.0
nvm use 18.0.0
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \\. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \\. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source ~/.bash_profile
command -v nvm
nvm install 16.0.0
nvm use 16.0.0
ldd --version
npm --version
nodejs --version