@actions/cache: convert to an ESM module (#2275)
* `@actions/cache`: convert to an ESM module * Update the fixture to ESM syntax * Update the cache workflows * Bump `@actions/glob` to `0.6.1` * Fix awaiting in the cache unit tests * Fix a type issues in contracts * Export the `DownloadOptions`/`UploadOptions` like before * More cache test fixes * Make the cache units tests better * Add some more logging * Add retries to restore-cache.mjs
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@ import {
|
||||
BlockBlobParallelUploadOptions
|
||||
} from '@azure/storage-blob'
|
||||
import {TransferProgressEvent} from '@azure/core-rest-pipeline'
|
||||
import {InvalidResponseError} from './shared/errors'
|
||||
import {UploadOptions} from '../options'
|
||||
import {InvalidResponseError} from './shared/errors.js'
|
||||
import {UploadOptions} from '../options.js'
|
||||
|
||||
/**
|
||||
* Class for tracking the upload state and displaying stats.
|
||||
|
||||
Reference in New Issue
Block a user