Fix: nodejs glibc dependency error
parent
76a0f27b32
commit
3e572eb22c
|
|
@ -5615,14 +5615,12 @@ class BuildAutomationWorkflow {
|
|||
const buildHooks = cloud_runner_custom_hooks_1.CloudRunnerCustomHooks.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`build`));
|
||||
const builderPath = cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`));
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - > /dev/null
|
||||
apt-get install -y nodejs > /dev/null
|
||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
n 18.0.0 > /dev/null
|
||||
ldd --version
|
||||
npm --version
|
||||
nodejs --version
|
||||
n stable > /dev/null
|
||||
${BuildAutomationWorkflow.TreeCommand}
|
||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
export GITHUB_WORKSPACE="${cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(cloud_runner_folders_1.CloudRunnerFolders.repoPathAbsolute)}"
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -68,13 +68,12 @@ 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 -fsSL https://deb.nodesource.com/setup_18.x | bash - > /dev/null
|
||||
apt-get install -y nodejs > /dev/null
|
||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
n 18.0.0 > /dev/null
|
||||
ldd --version
|
||||
npm --version
|
||||
nodejs --version
|
||||
n stable > /dev/null
|
||||
${BuildAutomationWorkflow.TreeCommand}
|
||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
export GITHUB_WORKSPACE="${CloudRunnerFolders.ToLinuxFolder(CloudRunnerFolders.repoPathAbsolute)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue