Migrate to ESM

This commit is contained in:
gowridurgad 2026-06-26 13:59:45 +05:30
parent 6a61c0375d
commit 5f2bece314
85 changed files with 108772 additions and 102908 deletions

View file

@ -1,8 +1,8 @@
import * as core from '@actions/core';
import * as cache from '@actions/cache';
import {State} from './constants';
import {getPackageManagerInfo} from './cache-utils';
import {State} from './constants.js';
import {getPackageManagerInfo} from './cache-utils.js';
// Catch and log any unhandled exceptions. These exceptions can leak out of the uploadChunk method in
// @actions/toolkit when a failed upload closes the file descriptor causing any in-process reads to