Compare commits

..

5 Commits

Author SHA1 Message Date
xiaoju d8b6974379 fix: OCAS_DIR → OCAS_HOME in test helpers
CI / check (pull_request) Failing after 1m15s
Remaining references to the old env name caused tests to use the
global ~/.ocas instead of per-test temp dirs.

Fixes #58
2026-06-04 10:59:53 +00:00
xiaoju 0470d9445a Merge pull request 'fix: disable pnpm minimumReleaseAge in CI' (#55) from fix/ci-disable-release-age into main
CI / check (push) Failing after 1m45s
2026-06-04 10:32:51 +00:00
xiaoju 07128b89af fix: pnpm 11 CI compatibility
CI / check (pull_request) Failing after 1m27s
- Set minimumReleaseAge: 0 (pnpm 11 defaults to 1440 min)
- Add allowBuilds for esbuild and msw (pnpm 11 blocks build scripts
  by default, config moved from package.json to pnpm-workspace.yaml)
2026-06-04 10:23:02 +00:00
xiaoju 1fdeb716ca Merge pull request 'fix: migrate CI from bun to pnpm' (#54) from fix/52-ci-bun-to-pnpm into main
CI / check (push) Failing after 51s
2026-06-04 10:05:35 +00:00
xiaoju 1b99f0e2c1 fix: migrate CI from bun to pnpm
CI / check (pull_request) Failing after 1m44s
Closes #52
2026-06-04 10:05:02 +00:00
3 changed files with 14 additions and 6 deletions
+7 -5
View File
@@ -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, {
+6
View File
@@ -1,2 +1,8 @@
packages:
- 'packages/*'
allowBuilds:
esbuild: true
msw: true
minimumReleaseAge: 0