Fix: nodejs glibc dependency error

pull/437/head
Frostebite 2022-10-30 22:01:59 +00:00
parent 76a0f27b32
commit 3e572eb22c
3 changed files with 6 additions and 9 deletions

6
dist/index.js vendored
View File

@ -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)}"

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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)}"