mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-28 04:41:52 +01:00
ci(runner): build breadth provider artifacts
This commit is contained in:
1 parent
9fa19b3bd5
commit
2ab3463deb
2 files changed
+18
-2
No files matched your search
@@ -117,6 +117,22 @@ describe("public repository paid workflow security", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("prepares every local JS-backed provider before paid execution", async () => {
|
||||
const workflow = await readFile(
|
||||
path.join(repositoryRoot, ".github/workflows/runner-full-stack-e2e.yml"),
|
||||
"utf8",
|
||||
);
|
||||
const jsBackedLocalCondition =
|
||||
"matrix.environmentId == 'local' && (matrix.profileId == 'runner-opencode' || startsWith(matrix.profileId, 'runner-acpx-') || matrix.suiteId == 'openrouter-model-breadth')";
|
||||
|
||||
expect(workflow).toContain("Build local JS-backed provider artifacts");
|
||||
expect(workflow).toContain("Qualify local provider Node interpreter");
|
||||
expect(workflow.split(jsBackedLocalCondition)).toHaveLength(3);
|
||||
expect(workflow).toContain(
|
||||
"pnpm --filter @paperclipai/paperclip-runner build:typescript",
|
||||
);
|
||||
});
|
||||
|
||||
it("uses environment-scoped OIDC for a no-delete history publisher", async () => {
|
||||
const workflow = await readFile(
|
||||
path.join(repositoryRoot, ".github/workflows/runner-full-stack-e2e.yml"),
|
||||
|
||||
Reference in new issue
Block a user