Fix release workflow: build with node-gyp
This commit is contained in:
1 parent
8401fdaf91
commit
cd9ffa7c83
1 file changed
+4
-5
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user