Skip to content

Commit

Permalink
test(prepare): improve spec-prod detection in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Jun 7, 2021
1 parent a16172c commit 37f6962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/prepare.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getInputsFromWorkflow(): Partial<Inputs> {
const text = readFileSync(path.join(workflowDir, workflow), "utf8");
const parsed = yaml.parse(text);
for (const job of Object.values(parsed.jobs) as Job[]) {
const step = job.steps.find(step => step.uses?.includes("w3c/spec-prod"));
const step = job.steps.find(step => step.uses?.includes("/spec-prod@"));
if (!step) continue;
return step.with;
}
Expand Down

0 comments on commit 37f6962

Please sign in to comment.