switch to ESM and update config/test wiring
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -22,12 +22,12 @@ import * as tc from '@actions/tool-cache';
|
||||
import * as semver from 'semver';
|
||||
import * as util from 'util';
|
||||
|
||||
import {Cache} from '../cache';
|
||||
import {Context} from '../context';
|
||||
import {GitHub} from '../github';
|
||||
import {Cache} from '../cache.js';
|
||||
import {Context} from '../context.js';
|
||||
import {GitHub} from '../github.js';
|
||||
|
||||
import {GitHubRelease} from '../types/github';
|
||||
import {DownloadVersion} from '../types/undock/undock';
|
||||
import {GitHubRelease} from '../types/github.js';
|
||||
import {DownloadVersion} from '../types/undock/undock.js';
|
||||
|
||||
export interface InstallOpts {
|
||||
githubToken?: string;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as semver from 'semver';
|
||||
|
||||
import {Exec} from '../exec';
|
||||
import {Exec} from '../exec.js';
|
||||
|
||||
export interface UndockOpts {
|
||||
binPath?: string;
|
||||
|
||||
Reference in New Issue
Block a user