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';
|
||||
|
||||
Reference in New Issue
Block a user