From 773c66debd52003ea205e8af698c777d1083f972 Mon Sep 17 00:00:00 2001 From: TrueNine Date: Tue, 24 Mar 2026 01:17:16 +0800 Subject: [PATCH] fix: repair docs deploy and windows path test --- .github/workflows/deploy-doc.yml | 6 +++--- cli/src/runtime-environment.test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-doc.yml b/.github/workflows/deploy-doc.yml index 66a25e56..564f896a 100644 --- a/.github/workflows/deploy-doc.yml +++ b/.github/workflows/deploy-doc.yml @@ -50,10 +50,10 @@ jobs: fi - name: Pull Vercel production settings - run: pnpm dlx vercel@latest pull --yes --environment=production --cwd doc --token="$VERCEL_TOKEN" + run: pnpm dlx vercel@latest pull --yes --environment=production --token="$VERCEL_TOKEN" - name: Build docs on Vercel - run: pnpm dlx vercel@latest build --prod --cwd doc --token="$VERCEL_TOKEN" + run: pnpm dlx vercel@latest build --prod --token="$VERCEL_TOKEN" - name: Deploy docs to Vercel production - run: pnpm dlx vercel@latest deploy --prebuilt --prod --cwd doc --token="$VERCEL_TOKEN" + run: pnpm dlx vercel@latest deploy --prebuilt --prod --token="$VERCEL_TOKEN" diff --git a/cli/src/runtime-environment.test.ts b/cli/src/runtime-environment.test.ts index ad577c0c..0bdeb63f 100644 --- a/cli/src/runtime-environment.test.ts +++ b/cli/src/runtime-environment.test.ts @@ -51,7 +51,7 @@ describe('runtime environment', () => { USERPROFILE: windowsHomeDir }, homedir: windowsHomeDir - })).toBe(path.join(windowsHomeDir, '.codex', 'config.toml')) + })).toBe(path.win32.join(windowsHomeDir, '.codex', 'config.toml')) }) it('selects the host config path that matches the current Windows profile in WSL', () => {