From 12f5d6fb744972ceee638657017207a5ee85864d Mon Sep 17 00:00:00 2001 From: Marek Fedorovic Date: Tue, 26 Sep 2023 15:28:01 +1000 Subject: [PATCH] fix: Add 'aarch64-apple-darwin' to npm.yml matrix --- .github/workflows/npm.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 34762990..00cff43a 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -15,6 +15,10 @@ jobs: target: x86_64-apple-darwin buildCommand: | cd $SDK_JS_HOME && npm run build -- --target x86_64-apple-darwin + - host: macos-latest + target: aarch64-apple-darwin + buildCommand: | + cd $SDK_JS_HOME && npm run build -- --target aarch64-apple-darwin name: stable - ${{ matrix.settings.target }} - node@16 runs-on: ${{ matrix.settings.host }} steps: @@ -45,7 +49,7 @@ jobs: - name: Cargo build run: cargo build - - name: Build + - name: NAPI-RS build shell: bash run: ${{ matrix.settings.buildCommand }}