Update multiple packages and configs

This commit is contained in:
Michal Dorner
2022-08-19 23:37:14 +02:00
parent 81fcbf17a9
commit 57e5862411
8 changed files with 5212 additions and 14306 deletions

View File

@@ -155,7 +155,7 @@ class TestReporter {
}
core.info(`Creating check run ${name}`)
const createResp = await this.octokit.checks.create({
const createResp = await this.octokit.rest.checks.create({
head_sha: this.context.sha,
name,
status: 'in_progress',
@@ -168,7 +168,7 @@ class TestReporter {
core.info('Creating report summary')
const {listSuites, listTests, onlySummary} = this
const baseUrl = createResp.data.html_url
const baseUrl = createResp.data.html_url as string
const summary = getReport(results, {listSuites, listTests, baseUrl, onlySummary})
core.info('Creating annotations')
@@ -179,7 +179,7 @@ class TestReporter {
const icon = isFailed ? Icon.fail : Icon.success
core.info(`Updating check run conclusion (${conclusion}) and output`)
const resp = await this.octokit.checks.update({
const resp = await this.octokit.rest.checks.update({
check_run_id: createResp.data.id,
conclusion,
status: 'completed',