mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01: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:
parent
a95a149c9a
commit
aba461c3a7
6 changed files with 4087 additions and 6356 deletions
|
|
@ -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} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue