mirror of
https://github.com/mudler/LocalAI.git
synced 2026-06-21 23:29:04 -04:00
fix(ci): use namespace import for js-yaml in changed-backends.js js-yaml's ESM build exposes only named exports (load, dump, ...) and no default export. Bun's strict ESM interop rejects the default import with 'Missing default export in module js-yaml.mjs', failing the detect-changes and generate-matrix CI jobs. Import the namespace instead; yaml.load (the only usage) resolves to the named export, so behavior is unchanged. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>