Skip to content

Commit eff7545

Browse files
fix(ci): skip native addon compilation in type-check workflow
The `isolated-vm` package (transitive dependency via @hoppscotch/cli) requires node-gyp to compile C++ against V8 headers. This fails on GitHub Actions runners where the Node.js v20 V8 headers are missing the `v8::SourceLocation` type that isolated-vm expects. Since CI only runs `tsc --noEmit` (type-checking, not execution): - Add `--ignore-scripts` to `bun install` to skip native compilation - Add `--skipLibCheck` to `tsc` to skip .d.ts validation in node_modules (e.g. mongodb types that aren't installed) The pipeline itself still compiles isolated-vm on developer machines and in production where Node.js headers are available. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3238416 commit eff7545

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
bun-version: latest
2323

2424
- name: Install dependencies
25-
run: bun install --frozen-lockfile
25+
run: bun install --frozen-lockfile --ignore-scripts
2626

2727
- name: Type check
28-
run: bunx tsc --noEmit
28+
run: bunx tsc --noEmit --skipLibCheck

0 commit comments

Comments
 (0)