getWorkflowId() — react Function Reference
Architecture documentation for the getWorkflowId() function in download-build-artifacts.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD bb2f5901_75d0_9ae0_3f8d_b59cdfdd8785["getWorkflowId()"] b7e2774f_9b65_2f26_1d36_abceee1db3ae["download-build-artifacts.js"] bb2f5901_75d0_9ae0_3f8d_b59cdfdd8785 -->|defined in| b7e2774f_9b65_2f26_1d36_abceee1db3ae 49e297f4_16bd_0ef1_1200_9acfefde5146["getWorkflowRun()"] 49e297f4_16bd_0ef1_1200_9acfefde5146 -->|calls| bb2f5901_75d0_9ae0_3f8d_b59cdfdd8785 style bb2f5901_75d0_9ae0_3f8d_b59cdfdd8785 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/release/shared-commands/download-build-artifacts.js lines 38–48
function getWorkflowId() {
if (
existsSync(join(__dirname, `../../../.github/workflows/${WORKFLOW_ID}`))
) {
return WORKFLOW_ID;
} else {
throw new Error(
`Incorrect workflow ID: .github/workflows/${WORKFLOW_ID} does not exist. Please check the name of the workflow being downloaded from.`
);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getWorkflowId() do?
getWorkflowId() is a function in the react codebase, defined in scripts/release/shared-commands/download-build-artifacts.js.
Where is getWorkflowId() defined?
getWorkflowId() is defined in scripts/release/shared-commands/download-build-artifacts.js at line 38.
What calls getWorkflowId()?
getWorkflowId() is called by 1 function(s): getWorkflowRun.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free