2a8f7ae1b1
### What? We can use the GitHub actions artifact (which is already produced right now) instead of a separate git branch to get the latest test results. This also means we don't have a dependency back to the turbo repo for the daily tests. Closes PACK-1951
28 lines
539 B
TypeScript
28 lines
539 B
TypeScript
/// <reference path="../.github/actions/next-integration-stat/src/manifest.d.ts" />
|
|
|
|
type ListArtifactsResponse = {
|
|
total_count: number
|
|
artifacts: Artifact[]
|
|
}
|
|
|
|
type Artifact = {
|
|
id: number
|
|
node_id: string
|
|
name: string
|
|
size_in_bytes: number
|
|
url: string
|
|
archive_download_url: string
|
|
expired: false
|
|
created_at: string
|
|
expires_at: string
|
|
updated_at: string
|
|
workflow_run: WorkflowRun
|
|
}
|
|
|
|
type WorkflowRun = {
|
|
id: number
|
|
repository_id: number
|
|
head_repository_id: number
|
|
head_branch: string
|
|
head_sha: string
|
|
}
|