Commit eff7545
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
0 commit comments