nodejs 16
parent
7549f83e72
commit
ed427c7471
|
|
@ -5614,8 +5614,10 @@ class BuildAutomationWorkflow {
|
|||
const setupHooks = cloud_runner_custom_hooks_1.CloudRunnerCustomHooks.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`setup`));
|
||||
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 tar tree npm git-lfs jq git > /dev/null
|
||||
return `apt-get update && apt-get upgrade > /dev/null
|
||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
||||
apt-get install -y nodejs > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
npm --version
|
||||
nodejs --version
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -67,8 +67,10 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
path.join(CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`),
|
||||
);
|
||||
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
||||
return `apt-get update && apt-get upgrade > /dev/null
|
||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
||||
apt-get install -y nodejs > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
npm --version
|
||||
nodejs --version
|
||||
|
|
|
|||
Loading…
Reference in New Issue