mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 10:55:23 -08:00
Downgrade got package to v11.x
got@v12.x has a dependency on @sindresorhus/is@v5.x and it uses optional chaining operator "?.". Probably due to issue https://github.com/vercel/ncc/issues/873 this syntax got into our dist/index.js. For some unknown reason it results in error when action is executed in GitHub runner despite the node version is 16.17.
This commit is contained in:
@@ -5,7 +5,7 @@ import {GitHub} from '@actions/github/lib/utils'
|
||||
import type {PullRequest} from '@octokit/webhooks-types'
|
||||
import * as stream from 'stream'
|
||||
import {promisify} from 'util'
|
||||
import {got} from 'got'
|
||||
import got from 'got'
|
||||
const asyncStream = promisify(stream.pipeline)
|
||||
|
||||
export function getCheckRunContext(): {sha: string; runId: number} {
|
||||
|
||||
Reference in New Issue
Block a user