Skip to content

Commit 6f1589c

Browse files
committed
bump node-addon-api to fix NAPI_VERSION error
1 parent 25cdd5c commit 6f1589c

File tree

3 files changed

+10
-53
lines changed

3 files changed

+10
-53
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
path: |
3838
./node_modules/
3939
./build/
40-
key: "cache-OS:${{ matrix.os }}-arch:${{ matrix.node_arch }}-ZMQ_DRAFT:${{ matrix.zmq_draft }}-Node:${{ matrix.node_version }}-${{ hashFiles('./package.json') }}"
40+
key: "cache-OS:${{ matrix.os }}-arch:${{ matrix.node_arch }}-ZMQ_DRAFT:${{ matrix.zmq_draft }}-Node:${{ matrix.node_version }}-${{ hashFiles('./pnpm-lock.yaml') }}"
4141
restore-keys: |
4242
"cache-OS:${{ matrix.os }}-arch:${{ matrix.node_arch }}-ZMQ_DRAFT:${{ matrix.zmq_draft }}-Node:${{ matrix.node_version }}-"
4343

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@aminya/node-gyp-build": "4.5.0-aminya.5",
2222
"cross-env": "^7.0.3",
23-
"node-addon-api": "^7.0.0",
23+
"node-addon-api": "^8.0.0",
2424
"shelljs": "^0.8.5",
2525
"shx": "^0.3.4"
2626
},

pnpm-lock.yaml

Lines changed: 8 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)