Fix release workflow: build with node-gyp

This commit is contained in:
dasemu committed 2026-11-26 00:01:45 +01:00
1 parent 8401fdaf91
commit cd9ffa7c83
1 file changed
+4 -5
+4 -5
View File
@@ -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: |