From 9e42a76ad206ea47edf2983badccfbbd4a0bc8ea Mon Sep 17 00:00:00 2001 From: Kirill Zhumarin Date: Sun, 10 Nov 2024 23:57:58 +0000 Subject: [PATCH] add win arm64 --- .github/workflows/build.yml | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d833dc3..d169e92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,10 @@ jobs: os: windows-2019 node: x64 command: prebuildify + - name: win32-arm64 + os: windows-2019 + command: prebuildify + args: --arch arm64 - name: linux-x64 os: ubuntu-latest command: prebuildify-cross diff --git a/package.json b/package.json index e768c2d..3f18fea 100644 --- a/package.json +++ b/package.json @@ -57,8 +57,8 @@ "scripts": { "build": "rm -rf dist && tsc -p tsconfig-build.json", "install": "node-gyp-build", - "prebuildify": "prebuildify --napi --target 14.0.0 --force --strip --verbose", - "prebuildify-cross": "prebuildify-cross --napi --target 14.0.0 --force --strip --verbose", + "prebuildify": "prebuildify --napi --force --strip --verbose", + "prebuildify-cross": "prebuildify-cross --napi --force --strip --verbose", "rebuild": "node-gyp rebuild", "format": "eslint lib test bin --fix", "lint": "eslint lib test bin && cc --verbose",