ci: update search with github actions

This commit is contained in:
iCrawl
2023-11-07 16:11:25 +01:00
parent 009c0a3bae
commit 792840bae6
8 changed files with 172 additions and 99 deletions

View File

@@ -20,7 +20,7 @@ export async function fetchVersions(packageName: string): Promise<string[]> {
]);
// @ts-expect-error: https://github.com/planetscale/database-js/issues/71
return rows[0].data;
return rows.map((row) => row.version);
}
export async function fetchModelJSON(packageName: string, version: string): Promise<unknown> {