From 4a9e2e0dbed36f0946c0f17d061d59e6446e6ac9 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Fri, 9 Oct 2026 12:18:33 +0800 Subject: [PATCH] ci: release npm ci --ignore-scripts (onnxruntime-node postinstall dies in clean CI) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1f2c23..0d1534e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,9 @@ jobs: with: node-version: '24' registry-url: 'https://registry.npmjs.org' - - run: npm ci + # onnxruntime-node's postinstall downloads binaries that are + # unnecessary for packaging; skip scripts in the release job + - run: npm ci --ignore-scripts - run: npm run lint - run: npm run build - run: npm test