Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 439dec7f56 | |||
| 1fdeb716ca | |||
| 1b99f0e2c1 |
@@ -12,15 +12,17 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- run: bun install
|
||||
- run: corepack enable && pnpm install
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Lint
|
||||
run: bun run check
|
||||
run: pnpm run check
|
||||
|
||||
- name: Test
|
||||
run: bun run test:ci
|
||||
run: pnpm run test:ci
|
||||
|
||||
@@ -324,7 +324,7 @@ describe("currentRole field", () => {
|
||||
try {
|
||||
const wf = join(tmpDir, "test-current-role.yaml");
|
||||
await writeFile(wf, SIMPLE_WORKFLOW_YAML, "utf8");
|
||||
const { thread, workflow } = await cmdThreadStart(storageRoot, wf, "test", tmpDir);
|
||||
const { thread } = await cmdThreadStart(storageRoot, wf, "test", tmpDir);
|
||||
const tid = thread as ThreadId;
|
||||
|
||||
await createMarker(storageRoot, {
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
async function makeUwfStore(storageRoot: string) {
|
||||
const casDir = join(storageRoot, "cas");
|
||||
await mkdir(casDir, { recursive: true });
|
||||
process.env.OCAS_HOME = casDir;
|
||||
process.env.OCAS_DIR = casDir;
|
||||
return createUwfStore(storageRoot);
|
||||
}
|
||||
|
||||
|
||||
@@ -491,7 +491,7 @@ describe("uwf thread resume - completed threads", () => {
|
||||
cwd: tmpDir,
|
||||
});
|
||||
|
||||
process.env.OCAS_HOME = casDir;
|
||||
process.env.OCAS_DIR = casDir;
|
||||
|
||||
const workerOutputHash = await store.cas.put(outputSchemaHash, { $status: "_" });
|
||||
const reviewerOutputHash = await store.cas.put(outputSchemaHash, { $status: "_" });
|
||||
@@ -654,7 +654,7 @@ echo '${adapterJson}'
|
||||
cwd: tmpDir,
|
||||
});
|
||||
|
||||
process.env.OCAS_HOME = casDir;
|
||||
process.env.OCAS_DIR = casDir;
|
||||
await seedThreads(tmpDir, {
|
||||
[THREAD_ID]: {
|
||||
head: startHash,
|
||||
@@ -702,7 +702,7 @@ echo '${adapterJson}'
|
||||
cwd: tmpDir,
|
||||
});
|
||||
|
||||
process.env.OCAS_HOME = casDir;
|
||||
process.env.OCAS_DIR = casDir;
|
||||
await seedThreads(tmpDir, { [THREAD_ID]: startHash });
|
||||
|
||||
const result = runUwf(["thread", "resume", THREAD_ID], casDir);
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
packages:
|
||||
- 'packages/*'
|
||||
|
||||
minimumReleaseAge: 0
|
||||
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
- msw
|
||||
|
||||
Reference in New Issue
Block a user