File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,12 +190,17 @@ jobs:
190190
191191 - name : Generate CycloneDX SBOM
192192 # Software Bill of Materials attached to every release. CycloneDX 1.5 JSON.
193- # --legacy-peer-deps: Gordon builds with Bun, which does not enforce
194- # peer ranges, and one transitive SDK still pins an older `ai` major.
195- # npm's strict peer resolution would fail this lockfile-only pass; the
196- # flag keeps SBOM generation working without changing what ships.
193+ #
194+ # Gordon installs with Bun, so the dependency tree npm sees will always
195+ # look inconsistent to it (npm reports every peer range Bun does not
196+ # enforce as missing/invalid). That is a reporting artifact, not a
197+ # broken tree: the shipped binary is built from bun.lock. The refresh is
198+ # therefore best-effort and the whole step is non-blocking, since the
199+ # SBOM is a release attachment and must never gate a release.
200+ continue-on-error : true
197201 run : |
198- npm install --package-lock-only --ignore-scripts --legacy-peer-deps
202+ npm install --package-lock-only --ignore-scripts --legacy-peer-deps \
203+ || echo "npm lockfile refresh reported peer issues; continuing (bun.lock is the source of truth)"
199204 node scripts/dev/codegen/generate-sbom.cjs --output gordon-sbom.json
200205
201206 - name : Create or update GitHub Release
You can’t perform that action at this time.
0 commit comments