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: |