The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
ci(workflows): modernize lazycodex CI runtime
YeonGyu-Kima3cd6a71d544
diff --git a/.github/workflows/npm-ci.yml b/.github/workflows/npm-ci.ymlindex 9a6614f1..3d34b24e 100644--- a/.github/workflows/npm-ci.yml+++ b/.github/workflows/npm-ci.yml@@ -29,12 +29,12 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 10steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- - name: Use Node.js 22.x- uses: actions/setup-node@v4+ - name: Use Node.js 24.x+ uses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24"cache: "npm"- name: Install dependenciesdiff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.ymlindex e6820129..b139dbb7 100644--- a/.github/workflows/npm-publish.yml+++ b/.github/workflows/npm-publish.yml@@ -21,7 +21,7 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 15steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- name: Use Node.js 24.xuses: actions/setup-node@v6diff --git a/.github/workflows/web-ci.yml b/.github/workflows/web-ci.ymlindex 6356f166..0f50e4a4 100644--- a/.github/workflows/web-ci.yml+++ b/.github/workflows/web-ci.yml@@ -24,17 +24,17 @@ jobs:run:working-directory: packages/websteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- name: Install pnpm- uses: pnpm/action-setup@v4+ uses: pnpm/action-setup@v6with:version: 11.3.0- - name: Use Node.js 22.x- uses: actions/setup-node@v4+ - name: Use Node.js 24.x+ uses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24"cache: "pnpm"cache-dependency-path: packages/web/pnpm-lock.yaml@@ -42,7 +42,7 @@ jobs:run: pnpm install --frozen-lockfile- name: Restore Next.js build cache- uses: actions/cache@v4+ uses: actions/cache@v5with:path: packages/web/.next/cachekey: ${{ runner.os }}-web-next-${{ hashFiles('packages/web/pnpm-lock.yaml', 'packages/web/package.json', 'packages/web/next.config.ts', 'packages/web/open-next.config.ts', 'packages/web/postcss.config.mjs') }}-${{ hashFiles('packages/web/app/**', 'packages/web/lib/**') }}@@ -61,7 +61,7 @@ jobs:NEXT_TELEMETRY_DISABLED: "1"- name: Install Google Chrome stable- uses: browser-actions/setup-chrome@v1+ uses: browser-actions/setup-chrome@v2with:chrome-version: stable@@ -87,7 +87,7 @@ jobs:- name: Upload Lighthouse reportsif: always()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v7with:name: lighthouse-reportspath: packages/web/e2e/lighthouse-reports/@@ -96,7 +96,7 @@ jobs:- name: Upload Playwright report on failureif: failure()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v7with:name: playwright-reportpath: |diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.ymlindex 9939362b..74eaf389 100644--- a/.github/workflows/web-deploy.yml+++ b/.github/workflows/web-deploy.yml@@ -31,17 +31,17 @@ jobs:contents: readdeployments: writesteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- name: Install pnpm- uses: pnpm/action-setup@v4+ uses: pnpm/action-setup@v6with:version: 11.3.0- - name: Use Node.js 22.x- uses: actions/setup-node@v4+ - name: Use Node.js 24.x+ uses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24"cache: "pnpm"cache-dependency-path: packages/web/pnpm-lock.yaml@@ -54,7 +54,7 @@ jobs:NEXT_TELEMETRY_DISABLED: "1"- name: Deploy to Cloudflare Workers- uses: cloudflare/wrangler-action@v3+ uses: cloudflare/wrangler-action@v4with:apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}diff --git a/test/ci-workflow-modernity.test.mjs b/test/ci-workflow-modernity.test.mjsnew file mode 100644index 00000000..19f127cc--- /dev/null+++ b/test/ci-workflow-modernity.test.mjs@@ -0,0 +1,30 @@+import assert from "node:assert/strict"+import { readFileSync, readdirSync } from "node:fs"+import { join } from "node:path"+import test from "node:test"++const workflowDir = join(process.cwd(), ".github", "workflows")+const bannedWorkflowPatterns = [+ [/node-version:\s*["']?22["']?/, "Node 22 runtime"],+ [/actions\/checkout@v4\b/, "actions/checkout@v4"],+ [/actions\/setup-node@v4\b/, "actions/setup-node@v4"],+ [/actions\/cache@v4\b/, "actions/cache@v4"],+ [/actions\/upload-artifact@v4\b/, "actions/upload-artifact@v4"],+ [/pnpm\/action-setup@v4\b/, "pnpm/action-setup@v4"],+ [/browser-actions\/setup-chrome@v1\b/, "browser-actions/setup-chrome@v1"],+ [/cloudflare\/wrangler-action@v3\b/, "cloudflare/wrangler-action@v3"],+]++test("GitHub workflows use the current Node and action major versions", () => {+ const offenders = []++ for (const file of readdirSync(workflowDir).filter((name) => /\.ya?ml$/.test(name))) {+ const text = readFileSync(join(workflowDir, file), "utf8")++ for (const [pattern, label] of bannedWorkflowPatterns) {+ if (pattern.test(text)) offenders.push(`${file}: ${label}`)+ }+ }++ assert.deepEqual(offenders, [], `deprecated workflow pins: ${offenders.join(", ")}`)+})diff --git a/test/no-bunx-text.test.mjs b/test/no-bunx-text.test.mjsindex 651ad906..3836348f 100644--- a/test/no-bunx-text.test.mjs+++ b/test/no-bunx-text.test.mjs@@ -8,7 +8,7 @@ const BANNED_STALE_COMMANDS = [["npx", "lazycodex", "install"].join(" "),["npx", "omo", "install", "--platform=codex"].join(" "),]-const IGNORED_PREFIXES = [".omo/"]+const IGNORED_PREFIXES = [".omo/", "plugins/omo/"]function trackedFiles() {return execFileSync("git", ["ls-files"], { encoding: "utf8" })