Migrate to ESM and upgrade dependencies (#1078)

* Migrate to ESM and upgrade dependencies

* fix: update import statement for JSON module in kona-installer test

---------

Co-authored-by: George Adams <[email protected]>
This commit is contained in:
Priya Gupta
2026-07-08 10:15:00 +01:00
committed by GitHub
co-authored by George Adams
parent 2a07c83aea
commit f7121373a9
96 changed files with 135849 additions and 124621 deletions
+4 -3
View File
@@ -3,8 +3,8 @@ import * as path from 'path';
import * as io from '@actions/io';
import * as exec from '@actions/exec';
import * as tc from '@actions/tool-cache';
import * as util from './util';
import {ExecOptions} from '@actions/exec/lib/interfaces';
import * as util from './util.js';
import {ExecOptions} from '@actions/exec';
export const PRIVATE_KEY_FILE = path.join(util.getTempDir(), 'private-key.asc');
@@ -86,7 +86,8 @@ export async function verifyPackageSignature(
throw new Error(
`Failed to create temporary GPG home directory for signature verification: ${
(error as Error).message
}`
}`,
{cause: error}
);
}
try {