mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-03 22:12:01 +09:00
ci(supply-chain): skip onnxruntime-node binary download in the audit job (#5028)
microsoft/onnxruntime release v1.21.0 is gone (gh: release not found; its linux-x64-gpu tarball now 404s). The nested onnxruntime-node under agentic-flow -> @huggingface/transformers postinstalls that CUDA tarball, so the browser 'npm install' in the Supply-chain audit job fails on every PR. npm audit only reads the lockfile and never loads the native binding, so set ONNXRUNTIME_NODE_INSTALL(=_CUDA)=skip for the job. Verified locally: the install succeeds and audit-supply-chain.mjs output is unchanged. Co-authored-by: r <r@x>
This commit is contained in:
1 parent
b9398c7306
commit
cdca4d9818
1 file changed
+7
@@ -813,6 +813,13 @@ jobs:
|
||||
# so direct-to-main changes (rare) are caught.
|
||||
name: Supply-chain audit (#2046)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# npm audit reads the lockfile graph; it never loads onnxruntime. The
|
||||
# nested onnxruntime-node under agentic-flow's transformers postinstalls
|
||||
# a CUDA tarball from microsoft/onnxruntime releases v1.21.0, which no
|
||||
# longer exists (404 since 2026-11-18), failing the browser install.
|
||||
ONNXRUNTIME_NODE_INSTALL: skip
|
||||
ONNXRUNTIME_NODE_INSTALL_CUDA: skip
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in new issue
Block a user