From 952a538c2494e0a870e46f57cb12d4319b048503 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 19 May 2026 12:34:53 +0100 Subject: [PATCH] Add constant for `API_COMPATIBILITY_FILE` --- pr-checks/config.ts | 6 ++++++ pr-checks/update-ghes-versions.ts | 2 ++ 2 files changed, 8 insertions(+) diff --git a/pr-checks/config.ts b/pr-checks/config.ts index 92c8beef0..97858c776 100644 --- a/pr-checks/config.ts +++ b/pr-checks/config.ts @@ -21,3 +21,9 @@ export const BUILTIN_LANGUAGES_FILE = path.join( "languages", "builtin.json", ); + +/** Path to the api-compatibility.json file. */ +export const API_COMPATIBILITY_FILE = path.join( + SOURCE_ROOT, + "api-compatibility.json", +); diff --git a/pr-checks/update-ghes-versions.ts b/pr-checks/update-ghes-versions.ts index cf8b20517..38f8cd9ab 100644 --- a/pr-checks/update-ghes-versions.ts +++ b/pr-checks/update-ghes-versions.ts @@ -6,6 +6,8 @@ * an `enterprise-releases` checkout. */ +import { API_COMPATIBILITY_FILE } from "./config"; + function main() {} // Only call `main` if this script was run directly.