fix(runner-e2e): freeze Daytona plugin dependencies

This commit is contained in:
Dotta committed 2026-09-03 16:17:21 -05:00
1 parent 5871ebefc6
commit 6e7f72a906
3 files changed
+2481 -2

No files matched your search

+2 -1
View File
@@ -781,11 +781,12 @@ jobs:
test -d "$sdk_root"
test ! -L "$daytona_root"
test ! -L "$sdk_root"
test -f "$daytona_root/pnpm-lock.yaml"
test "$(jq -r .name "$daytona_root/package.json")" = "@paperclipai/plugin-daytona"
test "$(jq -r .name "$sdk_root/package.json")" = "@paperclipai/plugin-sdk"
(
cd "$daytona_root"
pnpm install --ignore-workspace --no-lockfile --ignore-scripts
pnpm install --ignore-workspace --frozen-lockfile --ignore-scripts
)
node scripts/link-plugin-dev-sdk.mjs
test "$(realpath "$daytona_root/node_modules/@paperclipai/plugin-sdk")" = "$(realpath "$sdk_root")"
File diff suppressed because it is too large. Load diff
+5 -1
View File
@@ -140,8 +140,12 @@ describe("public repository paid workflow security", () => {
"if: matrix.environmentId == 'daytona'",
);
expect(preparedBeforeProviderAccess).toContain(
"pnpm install --ignore-workspace --no-lockfile --ignore-scripts",
'test -f "$daytona_root/pnpm-lock.yaml"',
);
expect(preparedBeforeProviderAccess).toContain(
"pnpm install --ignore-workspace --frozen-lockfile --ignore-scripts",
);
expect(preparedBeforeProviderAccess).not.toContain("--no-lockfile");
expect(preparedBeforeProviderAccess).toContain(
"node scripts/link-plugin-dev-sdk.mjs",
);