move to nodenext and simplify TS/ESM config
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ import {DefaultArtifactClient, InvalidResponseError} from '@actions/artifact';
|
||||
import * as core from '@actions/core';
|
||||
|
||||
import {UploadOpts, UploadResponse} from '../types/github/artifact.js';
|
||||
import {GitHub} from './github';
|
||||
import {GitHub} from './github.js';
|
||||
|
||||
export class GitHubArtifact {
|
||||
public static async upload(opts: UploadOpts): Promise<UploadResponse> {
|
||||
|
||||
@@ -19,7 +19,7 @@ import {dump as yamldump} from 'js-yaml';
|
||||
import os from 'os';
|
||||
import * as core from '@actions/core';
|
||||
|
||||
import {GitHub} from './github';
|
||||
import {GitHub} from './github.js';
|
||||
import {Util} from '../util.js';
|
||||
|
||||
import {BuildSummaryOpts, SummaryTableCell} from '../types/github/summary.js';
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
import * as core from '@actions/core';
|
||||
|
||||
import {UploadResponse} from './artifact';
|
||||
import {BakeDefinition} from '../buildx/bake';
|
||||
import {ExportResponse} from '../buildx/history';
|
||||
import {UploadResponse} from './artifact.js';
|
||||
import {BakeDefinition} from '../buildx/bake.js';
|
||||
import {ExportResponse} from '../buildx/history.js';
|
||||
|
||||
export type SummaryTableRow = Parameters<typeof core.summary.addTable>[0][number];
|
||||
export type SummaryTableCell = Exclude<SummaryTableRow[number], string>;
|
||||
|
||||
Reference in New Issue
Block a user