Skip to content

Commit

Permalink
chore: enable stats
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersokari committed Dec 8, 2024
1 parent 4af453f commit be09d0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worker/app/notifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class Notifier {
public async printGithubSummary(data: { mountedFilePath: string, url: string | undefined}): Promise<void> {
const lineBreak = '</br>'
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})**`)
Expand Down
3 changes: 2 additions & 1 deletion worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -94,7 +96,6 @@ export function main(): void {
}
await Promise.all(promises)
}

})()

}
Expand Down

0 comments on commit be09d0e

Please sign in to comment.