1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-05-07 02:57:36 +02:00

Refactor test-reporter to module based package

This commit is contained in:
Jozef Izso 2026-03-02 14:28:52 +01:00
parent 02510bde1f
commit ef1f9a4e60
Failed to extract signature
23 changed files with 90 additions and 89 deletions

View file

@ -1,12 +1,12 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import {GitHub} from '@actions/github/lib/utils'
import {GitHub} from '@actions/github/lib/utils.js'
import Zip from 'adm-zip'
import picomatch from 'picomatch'
import {FileContent, InputProvider, ReportInput} from './input-provider'
import {downloadArtifact, listFiles} from '../utils/github-utils'
import {FileContent, InputProvider, ReportInput} from './input-provider.js'
import {downloadArtifact, listFiles} from '../utils/github-utils.js'
export class ArtifactProvider implements InputProvider {
private readonly artifactNameMatch: (name: string) => boolean

View file

@ -1,7 +1,7 @@
import * as fs from 'fs'
import glob from 'fast-glob'
import {FileContent, InputProvider, ReportInput} from './input-provider'
import {listFiles} from '../utils/git'
import {FileContent, InputProvider, ReportInput} from './input-provider.js'
import {listFiles} from '../utils/git.js'
export class LocalFileProvider implements InputProvider {
constructor(