Convert to ESM.

Context: https://github.com/actions/typescript-action/pull/969
This commit is contained in:
Fabio Niephaus
2025-09-16 13:20:56 +02:00
committed by Fabio Niephaus
parent 59f089d81e
commit b4c67abb33
35 changed files with 118600 additions and 129021 deletions

7
__fixtures__/cache.ts Normal file
View File

@@ -0,0 +1,7 @@
import * as cache from '@actions/cache'
import { jest } from '@jest/globals'
export const ReserveCacheError = cache.ReserveCacheError
export const restoreCache = jest.fn<typeof cache.restoreCache>()
export const saveCache = jest.fn<typeof cache.saveCache>()
export const ValidationError = cache.ValidationError