File tree Expand file tree Collapse file tree
.github/actions/determineNodeVersions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25586,6 +25586,7 @@ const getVersions = async () => {
2558625586 // Below we will replace the matching major version with this more specific version
2558725587 // This will ensure that the unit tests run on the same version that will be shipped
2558825588 const installedNode = process.versions.node;
25589+ console.log("disabled 23:", process.env.NODE_DISABLE_VERSION_23);
2558925590 // Support disabling certain versions via an environment variable
2559025591 // They will be named like `NODE_DISABLE_VERSION_18` and will be set to `true`
2559125592 const disabledVersions = Object.keys(process.env).filter((env) => env.startsWith('NODE_DISABLE_VERSION_')).map((env) => env.replace('NODE_DISABLE_VERSION_', ''));
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ export const getVersions = async () => {
3030 // This will ensure that the unit tests run on the same version that will be shipped
3131 const installedNode = process . versions . node ;
3232
33+ console . log ( "disabled 23:" , process . env . NODE_DISABLE_VERSION_23 ) ;
34+
3335 // Support disabling certain versions via an environment variable
3436 // They will be named like `NODE_DISABLE_VERSION_18` and will be set to `true`
3537 const disabledVersions = Object . keys ( process . env ) . filter ( ( env ) => env . startsWith ( 'NODE_DISABLE_VERSION_' ) ) . map ( ( env ) => env . replace ( 'NODE_DISABLE_VERSION_' , '' ) ) ;
@@ -73,6 +75,7 @@ export const getVersions = async () => {
7375export const run = async ( ) => {
7476 try {
7577 const versions = await getVersions ( ) ;
78+
7679 setOutput ( 'nodeVersions' , versions )
7780 } catch ( error : any ) {
7881 setFailed ( error . message ) ;
You can’t perform that action at this time.
0 commit comments