From bc73e7ba84b7695975757ee4cf21e1f3eb4ac518 Mon Sep 17 00:00:00 2001 From: Jarek Krochmalski Date: Sun, 23 Aug 2026 10:26:44 +0200 Subject: [PATCH] ci: pin node to 24.18.1 in the openapi check so npm install builds better-sqlite3 --- .github/workflows/openapi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index b9fa9ba..cd41eea 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -32,7 +32,10 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 24 + # Pin to 24.18.1: better-sqlite3 has no prebuilt binary for 24.19.0 and its + # node-gyp source build crashes on the runner (undici h1 assert), so a plain + # `node-version: 24` (which resolves to the latest 24.x) breaks npm install. + node-version: 24.18.1 - name: Install dependencies run: npm install --no-audit --no-fund