Bump Node.js dependencies and support ESM packages

This commit is contained in:
Shivam Mathur
2026-10-08 22:36:54 +05:30
parent eb7c497e18
commit 0534f032be
7 changed files with 94 additions and 85 deletions
+1 -1
View File
@@ -1,6 +1,5 @@
import path from 'path';
import fs from 'fs';
import {exec} from '@actions/exec';
import * as config from './config';
import * as core from './core';
import * as coverage from './coverage';
@@ -66,6 +65,7 @@ export async function run(): Promise<void> {
const os: string = process.platform;
const tool = await utils.scriptTool(os);
const run_path = await getScript(os);
const {exec} = await import(/* webpackMode: "eager" */ '@actions/exec');
await exec(tool + run_path);
}