node-oom-heapdump 3.2.3 → 3.3.0-pre3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,20 +22,42 @@ jobs:
22
22
  - name: Add msbuild to PATH
23
23
  if: matrix.os == 'windows-latest'
24
24
  uses: microsoft/setup-msbuild@v1.1
25
- - name: patch node gyp on windows to support Visual Studio 2019
25
+ - name: Install node-gyp
26
26
  if: matrix.os == 'windows-latest'
27
27
  shell: powershell
28
28
  run: |
29
29
  npm install --global npm@latest
30
30
  npm install --global node-gyp@latest
31
- npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
32
31
  - name: build using node-pre-gyp
33
32
  run: |
34
33
  npm install --build-from-source
35
- ./node_modules/.bin/node-pre-gyp package
34
+ npx node-pre-gyp package
36
35
  - name: Upload native binaries for Node ${{ matrix.node-version }} for ${{ matrix.os }}
37
36
  uses: csexton/release-asset-action@v2
38
37
  with:
39
38
  pattern: "build/stage/*.tar.gz"
40
39
  github-token: ${{ secrets.GITHUB_TOKEN }}
41
40
  release-url: ${{ github.event.release.upload_url }}
41
+
42
+ alpine-release:
43
+ runs-on: ubuntu-latest
44
+ strategy:
45
+ matrix:
46
+ node-version: [18, 20, 22]
47
+ container: node:${{ matrix.node-version }}-alpine3.20
48
+ steps:
49
+ - uses: actions/checkout@v2
50
+ - name: install build deps
51
+ run: |
52
+ apk add g++ make python3
53
+ - name: build using node-pre-gyp
54
+ run: |
55
+ npm install
56
+ npx node-pre-gyp rebuild
57
+ npx node-pre-gyp package
58
+ - name: Upload native binaries for Node ${{ matrix.node-version }} for alpine
59
+ uses: csexton/release-asset-action@v2
60
+ with:
61
+ pattern: "build/stage/*.tar.gz"
62
+ github-token: ${{ secrets.GITHUB_TOKEN }}
63
+ release-url: ${{ github.event.release.upload_url }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-oom-heapdump",
3
- "version": "3.2.3",
3
+ "version": "3.3.0-pre3",
4
4
  "description": "Create a V8 heap snapshot when an \"Out of Memory\" error occurs, or create a heap snapshot or CPU profile on request.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,6 +16,7 @@
16
16
  "binary": {
17
17
  "module_name": "node_oom_heapdump_native",
18
18
  "module_path": "./build/Release",
19
+ "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
19
20
  "host": "https://github.com/blueconic/node-oom-heapdump/releases/download/{version}"
20
21
  },
21
22
  "engines": {
@@ -47,4 +48,4 @@
47
48
  "require-main-filename": "^2.0.0",
48
49
  "ws": "^8.16.0"
49
50
  }
50
- }
51
+ }