diff --git a/.github/actions/constants.ts b/.github/actions/constants.ts index 466f257d4..306574612 100644 --- a/.github/actions/constants.ts +++ b/.github/actions/constants.ts @@ -1,9 +1,11 @@ export const BROWSERS = ['chrome', 'firefox', 'safari'] as const; export type Browser = (typeof BROWSERS)[number]; + export const COLORS = { green: '3fb950', red: 'd73a49', } as const; + export const TEMPLATE_VARS = { tableBody: '{{ TABLE_BODY }}', sha: '{{ SHA }}', diff --git a/.github/actions/delete-artifacts.ts b/.github/actions/delete-artifacts.ts index 1e5912551..de6ede880 100644 --- a/.github/actions/delete-artifacts.ts +++ b/.github/actions/delete-artifacts.ts @@ -1,5 +1,5 @@ import type { AsyncFunctionArguments } from 'github-script'; -import { BROWSERS, type Browser } from './constants'; +import { BROWSERS, type Browser } from './constants.ts'; async function getBrowserArtifacts( { github, context }: Pick, diff --git a/.github/actions/get-workflow-artifacts.ts b/.github/actions/get-workflow-artifacts.ts index 22b7776ef..72bfd1463 100644 --- a/.github/actions/get-workflow-artifacts.ts +++ b/.github/actions/get-workflow-artifacts.ts @@ -1,6 +1,6 @@ import fs from 'node:fs/promises'; import type { AsyncFunctionArguments } from 'github-script'; -import { COLORS, TEMPLATE_VARS, type Browser } from './constants'; +import { COLORS, TEMPLATE_VARS, type Browser } from './constants.ts'; const ARTIFACTS_DATA: Record< Browser,