mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Pass NODE_PATH
to task runners (#13652)
This commit is contained in:
parent
9bedd87744
commit
906770a06a
|
@ -23,6 +23,7 @@
|
|||
"NODE_FUNCTION_ALLOW_BUILTIN",
|
||||
"NODE_FUNCTION_ALLOW_EXTERNAL",
|
||||
"NODE_OPTIONS",
|
||||
"NODE_PATH",
|
||||
"N8N_SENTRY_DSN",
|
||||
"N8N_VERSION",
|
||||
"ENVIRONMENT",
|
||||
|
|
|
@ -76,6 +76,7 @@ describe('TaskRunnerProcess', () => {
|
|||
'N8N_VERSION',
|
||||
'ENVIRONMENT',
|
||||
'DEPLOYMENT_NAME',
|
||||
'NODE_PATH',
|
||||
'GENERIC_TIMEZONE',
|
||||
])('should propagate %s from env as is', async (envVar) => {
|
||||
jest.spyOn(authService, 'createGrantToken').mockResolvedValue('grantToken');
|
||||
|
|
|
@ -63,6 +63,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {
|
|||
'N8N_VERSION',
|
||||
'ENVIRONMENT',
|
||||
'DEPLOYMENT_NAME',
|
||||
'NODE_PATH',
|
||||
] as const;
|
||||
|
||||
constructor(
|
||||
|
|
Loading…
Reference in a new issue