diff --git a/src/utils.js b/src/utils.js index 8a8d538..ff978af 100644 --- a/src/utils.js +++ b/src/utils.js @@ -20,7 +20,7 @@ const globby = require('globby') const path = require('path') const archiver = require('archiver') // this is a static list that comes from here: https://developer.adobe.com/runtime/docs/guides/reference/runtimes/ -const SupportedRuntimes = ['sequence', 'blackbox', 'nodejs:10', 'nodejs:12', 'nodejs:14', 'nodejs:16', 'nodejs:18', 'nodejs:20', 'nodejs:22', 'nodejs:24'] +const SupportedRuntimes = ['sequence', 'blackbox', 'nodejs:10', 'nodejs:12', 'nodejs:14', 'nodejs:16', 'nodejs:18', 'nodejs:20', 'nodejs:22', 'nodejs:24', 'nodejs:26'] const { HttpProxyAgent } = require('http-proxy-agent') const PatchedHttpsProxyAgent = require('./PatchedHttpsProxyAgent.js') const { getCliEnv, DEFAULT_ENV } = require('@adobe/aio-lib-env') diff --git a/test/utils.test.js b/test/utils.test.js index ee5e3bc..7a36de3 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -2575,6 +2575,7 @@ describe('validateActionRuntime', () => { expect(() => utils.validateActionRuntime({ exec: { kind: 'nodejs:20' } })).not.toThrow() expect(() => utils.validateActionRuntime({ exec: { kind: 'nodejs:22' } })).not.toThrow() expect(() => utils.validateActionRuntime({ exec: { kind: 'nodejs:24' } })).not.toThrow() + expect(() => utils.validateActionRuntime({ exec: { kind: 'nodejs:26' } })).not.toThrow() }) test('no exec', () => { expect(utils.validateActionRuntime({})).toBeUndefined()