From be09d0e12f780a16ce54e6bd2aad1e7854d05e11 Mon Sep 17 00:00:00 2001 From: sokari Date: Sun, 8 Dec 2024 19:30:31 +0100 Subject: [PATCH] chore: enable stats --- worker/app/notifier.ts | 2 +- worker/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/worker/app/notifier.ts b/worker/app/notifier.ts index 9fa4486..f84bce0 100644 --- a/worker/app/notifier.ts +++ b/worker/app/notifier.ts @@ -140,7 +140,7 @@ export class Notifier { public async printGithubSummary(data: { mountedFilePath: string, url: string | undefined}): Promise { const lineBreak = '
' const builder = new StringBuilder() - builder.append(`**Your Allure report is ready 📈**}`) + builder.append(`**Your Allure report is ready 📈**`) .append(lineBreak).append(lineBreak) if (data.url) { builder.append(`**[View report](${data.url})**`) diff --git a/worker/index.ts b/worker/index.ts index ecadf05..21e9517 100644 --- a/worker/index.ts +++ b/worker/index.ts @@ -36,6 +36,8 @@ export function main(): void { console.warn('WEBSITE_ID or STORAGE_BUCKET is required'); return } + new Notifier().printStats(); + (async () => { // credential must be initialized before starting app try { @@ -94,7 +96,6 @@ export function main(): void { } await Promise.all(promises) } - })() }