Skip to content

Commit b149e96

Browse files
syropianclaude
andcommitted
Stubs the Hybridly tsconfig in the frontend CI job
The root tsconfig.json extends a PHP-generated .hybridly/tsconfig.json that the PHP-free frontend job lacks, which broke the Vitest transform. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fbc2a2c commit b149e96

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
- name: Install dependencies
6161
run: pnpm install --frozen-lockfile
6262

63+
# The root tsconfig.json extends .hybridly/tsconfig.json, which is generated
64+
# by `php artisan` during a build. This job runs PHP-free, so provide a
65+
# minimal stand-in the TypeScript transform can resolve.
66+
- name: Stub Hybridly tsconfig
67+
run: |
68+
mkdir -p .hybridly
69+
echo '{"compilerOptions":{"target":"esnext","module":"esnext","moduleResolution":"bundler","strict":true,"esModuleInterop":true,"skipLibCheck":true,"baseUrl":"..","paths":{"@/*":["./resources/*"]}}}' > .hybridly/tsconfig.json
70+
6371
- name: Run tests (Vitest)
6472
run: pnpm test
6573

0 commit comments

Comments
 (0)