From cd9ffa7c837dfc3c4f328864d80c55b80cd476f7 Mon Sep 17 00:00:00 2001 From: dasemu Date: Thu, 26 Nov 2026 00:01:45 +0100 Subject: [PATCH] Fix release workflow: build with node-gyp --- .gitea/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index baf5205..7a07af6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -28,13 +28,12 @@ jobs: run: npm install -g pnpm - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --ignore-scripts - - name: Build + - name: Build native addon run: | - pnpm run build --if-present - # Compile the native addon if the build script did not already do so - [ -d build/Release ] || pnpm exec node-gyp rebuild + npm install -g node-gyp + node-gyp rebuild - name: Package binary run: |