use npm n to update node in unity builder
parent
b6824ac46b
commit
d136867f4c
|
|
@ -3207,7 +3207,7 @@ class BuildAutomationWorkflow {
|
|||
static get FullWorkflow() {
|
||||
const hooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`setup`));
|
||||
return `apt-get update
|
||||
apt-get install -y -q zip tree nodejs git-lfs jq unzip git
|
||||
apt-get install -y -q zip tree npm git-lfs jq unzip git
|
||||
npm install -g n
|
||||
n stable
|
||||
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -78,7 +78,7 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
x.step.includes(`setup`),
|
||||
);
|
||||
return `apt-get update
|
||||
apt-get install -y -q zip tree nodejs git-lfs jq unzip git
|
||||
apt-get install -y -q zip tree npm git-lfs jq unzip git
|
||||
npm install -g n
|
||||
n stable
|
||||
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
|
|
|
|||
Loading…
Reference in New Issue